This is a migrated thread and some comments may be shown as answers.

Error loading VS 2010 solution for MVC source

5 Answers 150 Views
Documentation and tutorials
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Carl
Top achievements
Rank 1
Carl asked on 31 Aug 2011, 08:58 PM
I get the following error when attempting to load MVC source solution with VS 2010 Ultimate on a Windows 7 64 bit machine:

*****

C:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q2 2011\Source\Telerik.Web.Mvc.JavaScriptTests\Telerik.Web.Mvc.JavaScriptTests.csproj : error  : The project file 'C:\Program Files (x86)\Telerik\Extensions for ASP.NET MVC Q2 2011\Source\Telerik.Web.Mvc.JavaScriptTests\Telerik.Web.Mvc.JavaScriptTests.csproj' cannot be opened.

The project type is not supported by this installation.

*****

So my question is: What are installation requirements and/or missing dependencies necessary to load solution without errors?

5 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 01 Sep 2011, 09:11 AM
Hello Carl,

Thank you for reporting this. It seems that we haven't updated the csproj file to specify that it is a MVC3 type project -- so it reports that it is a MVC2 project, and most probably you don't have that installed. We have fixed that for upcoming builds. You can either:
  • edit the ProjectTypeGuids in your version of the csproj file (using a text editor) to the following:
    <ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
    (the first GUID has been changed). This will specify that the project is an MVC3 project.
  • decide not to load the project, if you don't intend to run the JavaScript unit tests

All the best,
Alex Gyoshev
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Carl
Top achievements
Rank 1
answered on 01 Sep 2011, 03:46 PM
OK, thanks, changing the GUID solved the problem.

The solution now loads without error, and all 4 projects build without error.

However, apparently, only the Mvc.Examples project uses MVC3 for conditional compilation symbol, whereas the other 3 projects Mvc, Mvc.Tests, and Mvc.JavaScriptTests all use MVC2 for conditional compilation symbol. Does that mean that they have not yet been upgraded and fully tested with MVC3?
0
Atanas Korchev
Telerik team
answered on 01 Sep 2011, 05:21 PM
Hello Carl,

 Those compilation symbols depend on the solution build configuration. If you change it to "Debug MVC3" or "Release MVC3" the MVC3 compilation symbols will be set.

 The example project is for ASP.NET MVC 3 only hence it is not affected by the solution build configuration. 

On a side note all projects are upgraded and tested with ASP.NET MVC 3.

Regards,
Atanas Korchev
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Carl
Top achievements
Rank 1
answered on 01 Sep 2011, 05:33 PM
OK, thanks.

All 4 projects now build without error using the Debug MVC3 configuration for MVC3. So the only thing that I had to change then was the TypeGuid for the JavaScriptTest project.
0
Atanas Korchev
Telerik team
answered on 02 Sep 2011, 07:58 AM
Hello Carl,

 Thank you for reporting the project type problem. We have now fixed it.

 I have updated your Telerik points as a token of our gratitude.

Regards,
Atanas Korchev
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Documentation and tutorials
Asked by
Carl
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Carl
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or