我下载了一个Visual Studio项目,但我无法在我的Visual Studio 2010副本中打开它.无用的错误消息:
此安装不支持项目类型.
打开项目类型需要什么软件?它没有说.
我实际去看了.csproj文件,它告诉我它的项目类型
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
Run Code Online (Sandbox Code Playgroud)
我是想从这个随机字符串中识别出我需要什么软件?这绝对是荒谬的.
安装ASP.NET MVC 4开发人员预览版后,我无法再打开MVC 3项目,并显示以下错误消息:
The project type is not supported by this installation.
Run Code Online (Sandbox Code Playgroud)
<ProjectTypeGuids> 在我的MVC 3 .csproj文件看起来正确:
<ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
Run Code Online (Sandbox Code Playgroud)
这是MVC 4开发人员预览中的错误,还是Visual Studio 2010安装中缺少的?我该如何解决?我应该回滚我的MVC 4安装吗?
我试过运行devenv /ResetSkipPkgs并安装了MVC 3工具更新,但无济于事.
我正在尝试在我的Visual C#2010 Express安装中加载项目.该项目是由另一位使用Visual Studio 2010的同学创建的.这是一个存根项目(没有实际代码).当我尝试加载它时,我得到" 此安装不支持项目类型 "错误,并且上面的SO解决方案没有帮助,因为我不知道认为Express有命令行的事情.我试过这个SO解决方案,但它根本没有帮助我.
如何加载项目?
PS项目中没有复杂的单元测试.它实际上是一个没有重要代码的存根.
编辑:这是一个csproj文件,根据要求:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>
</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{C1F8CC60-8F0A-4BAA-BC5B-B3603F662F26}</ProjectGuid>
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Team10BuyerSeller</RootNamespace>
<AssemblyName>Team10BuyerSeller</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" …Run Code Online (Sandbox Code Playgroud)