1

我有一个 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
4

2 回答 2

1

我在 Windows 8 Pro 上运行 VS 2012 Professional 时遇到了同样的问题。下载 VS 2012 Update 3 为我解决了这个问题。

链接到 VS 2012 更新 3

于 2013-08-14T18:33:52.893 回答
0
uninstalled VS2012 and installed again solved this issue
于 2013-08-16T13:27:48.793 回答