Hello
In IIS, under Default Web Site, I run multiple ASP.NET websites as Applications. All is good until I open one such website from Visual Studio 2013 Preview and/or RC. No matter if I open it from file system or from IIS, I get this error while the project is loaded in VS 2013:
VirtualPath was outside the current application root.
Parameter name: virtualPath
Here's my solution file:
Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 VisualStudioVersion = 12.0.20827.3 MinimumVisualStudioVersion = 10.0.40219.1 Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Cdc", "http://localhost/Cdc", "{1828CC0B-D177-47D3-B3BB-F521D51F54D7}" ProjectSection(WebsiteProperties) = preProject UseIISExpress = "false" TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.5" Debug.AspNetCompiler.VirtualPath = "/Cdc" Debug.AspNetCompiler.PhysicalPath = "D:\Work\Web.NET\Cdc\" Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Cdc\" Debug.AspNetCompiler.Updateable = "true" Debug.AspNetCompiler.ForceOverwrite = "true" Debug.AspNetCompiler.FixedNames = "false" Debug.AspNetCompiler.Debug = "True" Release.AspNetCompiler.VirtualPath = "/Cdc" Release.AspNetCompiler.PhysicalPath = "D:\Work\Web.NET\Cdc\" Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Cdc\" Release.AspNetCompiler.Updateable = "true" Release.AspNetCompiler.ForceOverwrite = "true" Release.AspNetCompiler.FixedNames = "false" Release.AspNetCompiler.Debug = "False" SlnRelativePath = "D:\Work\Web.NET\Cdc\" EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {1828CC0B-D177-47D3-B3BB-F521D51F54D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {1828CC0B-D177-47D3-B3BB-F521D51F54D7}.Debug|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal
If i close VS the application starts working again. Can I fix this ? Or can I at least stop VS 2013 from modifying IIS configuration ?
Thanks,
Mihai