Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/266.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 当前安装不支持该项目类型_C#_Vb.net - Fatal编程技术网

C# 当前安装不支持该项目类型

C# 当前安装不支持该项目类型,c#,vb.net,C#,Vb.net,我正试图在Visual Studio中打开一个项目。我已经安装了和C。当我打开解决方案时,它会说 "The project file D:\MyProjects\ComboSample.csproj can not be be opened." "The project type is not supported by current installation" 我需要安装什么?C已经在那里了 ComboSample.csproj 有时,双击在早期版本的

我正试图在Visual Studio中打开一个项目。我已经安装了和C。当我打开解决方案时,它会说

"The project file D:\MyProjects\ComboSample.csproj can not be be opened."
"The project type is not supported by current installation"
我需要安装什么?C已经在那里了

ComboSample.csproj
有时,双击在早期版本的Visual Studio中创建的.sln文件时会出现此错误。尝试打开Visual Studio,使用文件>打开并选择.sln文件。如有必要,这将进行任何转换。

如果您使用Visual Studio 20xx Express for C,则在尝试打开Web项目时会出现此错误

安装Visual Web Developer 2010 Express


Express Edition不支持一些项目类型,例如Windows服务,但您仍然可以在不使用模板和工具的情况下构建Windows服务。

这完全取决于项目是什么-您只能从项目类型guid确定。最终,它与您尚未安装支持的项目类型相关。例如,如果您的IDE不支持已安装的CF/WinRT/MonoDroid/XNA/Reporting/Silverlight/Phone 7/IDE扩展项目,则可以选择其中任何一个。或者别的什么

如果您使用的是express,则可能是一个单元测试项目,如果您不使用db pro/ultimate,则可能是一个数据库项目。或者,如果您使用的是VS2005,则使用web应用程序项目

在csproj中查找guid 谷歌的guid,看看它是什么 安装那个工具
我也犯了同样的错误。我的问题是项目需要MVC3。我安装了Web平台安装程序,安装了MVC3,我的问题消失了

请在文本编辑器中打开csproj文件并查找以开头的行。在这里发布这一行和/或搜索您在那里找到的guid。您使用的是哪个版本的VS?
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComboBoxSample1", "ComboBoxSample1\ComboBoxSample1.csproj", "{6A1F1EE5-4AED-40E0-9517-3EAC47442628}"
EndProject
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|Any CPU = Debug|Any CPU
        Release|Any CPU = Release|Any CPU
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {6A1F1EE5-4AED-40E0-9517-3EAC47442628}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {6A1F1EE5-4AED-40E0-9517-3EAC47442628}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {6A1F1EE5-4AED-40E0-9517-3EAC47442628}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {6A1F1EE5-4AED-40E0-9517-3EAC47442628}.Release|Any CPU.Build.0 = Release|Any CPU
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
    EndGlobalSection
EndGlobal