我有一个VS 2012解决方案,其中包含一个经典的asp应用程序(现有应用程序,我不知道为什么或如何)。
我能够在VS 2012中打开解决方案,但无法打开任何经典的asp文件。虽然尝试打开它关闭VS 2012.我也有Resharper。
导致此问题的原因是什么?
这是解决方案文件
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Web", "http://localhost:6812", "{45E1C5CC-9D91-43E2-8F15-A344D84E4BA4}"
ProjectSection(WebsiteProperties) = preProject
SccProjectName = "SAK"
SccAuxPath = "SAK"
SccLocalPath = "SAK"
SccProvider = "SAK"
UseIISExpress = "true"
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.5"
Debug.AspNetCompiler.VirtualPath = "/localhost_6812"
Debug.AspNetCompiler.PhysicalPath = "Web\"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_6812\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/localhost_6812"
Release.AspNetCompiler.PhysicalPath = "Web\"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_6812\"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
SlnRelativePath = "Web\"
DefaultWebSiteLanguage = "Visual C#"
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "someproject\", "NET\someproject\someproject\.csproj", "{07316417-EED7-4E5C-8161-88444DBC8A0A}"
EndProject
Global
GlobalSection(TeamFoundationVersionControl) = preSolution
SccNumberOfProjects = 3
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
SccTeamFoundationServer = http://someserver:8080/tfs/defaultcollection
SccLocalPath0 = .
SccWebProject1 = true
SccProjectUniqueName1 = http://localhost:6812
SccProjectName1 = Web
SccLocalPath1 = Web
SccProjectEnlistmentChoice1 = 2
SccProjectUniqueName2 = NET\\someproject\\someproject.csproj
SccProjectName2 = NET/someproject
SccLocalPath2 = NET\\someproject
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{45E1C5CC-9D91-43E2-8F15-A344D84E4BA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{45E1C5CC-9D91-43E2-8F15-A344D84E4BA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{45E1C5CC-9D91-43E2-8F15-A344D84E4BA4}.Release|Any CPU.ActiveCfg = Debug|Any CPU
{45E1C5CC-9D91-43E2-8F15-A344D84E4BA4}.Release|Any CPU.Build.0 = Debug|Any CPU
{07316417-EED7-4E5C-8161-88444DBC8A0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{07316417-EED7-4E5C-8161-88444DBC8A0A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{07316417-EED7-4E5C-8161-88444DBC8A0A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{07316417-EED7-4E5C-8161-88444DBC8A0A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
答案 0 :(得分:1)
我在Windows 8 Pro上运行的VS 2012 Professional遇到了同样的问题。下载VS 2012 Update 3为我解决了这个问题。
答案 1 :(得分:0)
uninstalled VS2012 and installed again solved this issue