在VS2010中打开解决方案时出错 - 此安装不支持项目类型

时间:2014-09-29 15:01:11

标签: c# asp.net visual-studio-2010 guid

尝试在VS2010 Professional中打开解决方案时,出现此错误:

The project type is not supported by this installation.

我已经查看了 this 帖子,但似乎与我的具体情况无关。

当我在记事本中查看csproj时,它会显示:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
        <WebProjectProperties>
          <StartPageUrl>
          </StartPageUrl>
          <StartAction>CurrentPage</StartAction>
          <AspNetDebugging>True</AspNetDebugging>
          <SilverlightDebugging>False</SilverlightDebugging>
          <NativeDebugging>False</NativeDebugging>
          <SQLDebugging>False</SQLDebugging>
          <ExternalProgram>
          </ExternalProgram>
          <StartExternalURL>
          </StartExternalURL>
          <StartCmdLineArguments>
          </StartCmdLineArguments>
          <StartWorkingDirectory>
          </StartWorkingDirectory>
          <EnableENC>False</EnableENC>
          <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
        </WebProjectProperties>
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>
</Project>

提前致谢!

1 个答案:

答案 0 :(得分:1)

您确定它是2010年的模板吗?或者,它是MVC还是Web API项目?您可能需要安装MVC来修复它。