我可以创建新的MVC项目,他们的工作和运行但试图打开一个现有的项目不工作
我尝试了以下改变项目类型:
<ProjectTypeGuids>{F85E285D-A4E0-4152-9332-AB1D724D3325};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
(这个工作从Asp.Net MVC preVIEW 1迁移项目,preVIEW 2 BTW)
改的参考:
&lt;参考包括=System.Web.Mvc,版本= 2.0.0.0,文化=中性公钥= 31bf3856ad364e35,的ProcessorArchitecture = MSIL&GT;
&LT; SpecificVersion&GT;假&LT; / SpecificVersion&GT;
&LT; /参考&GT;
我是从我创造了这么一个新项目的工具这个我知道,应该没问题(我甚至很难codeD的路径,相同的结果)
不过我得到了可怕
该项目文件'......的csproj无法打开。项目类型不受此安装支持。
我也试过 devenv的/设置
和安装SP1的Visual Studio
该项目的IM试图打开是此内容一(一工作在ASP.NET MVC的网格)的DevEx preSS样品
解决方案确定的问题是太多变化,我解压缩解决方案再次,只是改变
在第一个参数的 ProjectTypeGuids
到 {F85E285D-A4E0-4152-9332-AB1D724D3325}
所以它看起来像
和我能看到项目万岁!
I can create new MVC projects and they work and run however trying to open an existing project is not working at all
I tried the following changing the project type to:
<ProjectTypeGuids>{F85E285D-A4E0-4152-9332-AB1D724D3325};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
(this worked on migrating a project from Asp.Net MVC preview 1 to preview 2 BTW)
Changed the Reference to:
<Reference Include="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
I tool this from a new project I created so i know that should be ok ( i even hardcoded the path to the same result)
Still i get the dreaded
The project file '.....csproj' cannot be opened. The project type is not supported by this installation.
I also tried devenv /setup
and installing the sp1 for visual studio
the project i m trying to open is this one (a DevExpress sample of a grid working on ASP.NET MVC)
解决方案ok the problem was too many changes, I unzipped the solution again and just changed
the first parameter in the ProjectTypeGuids
to {F85E285D-A4E0-4152-9332-AB1D724D3325}
so it looks like
<ProjectTypeGuids>{**F85E285D-A4E0-4152-9332-AB1D724D3325**};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
and I can see the project hurray!