Is it possible to open MVC2 project in Visual Studio 2012? When I try to load the project I get this error :
De\De.csproj: The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?prd=12395&pver=11&sbp=ProjectTypeDeprecated&plcid=0x409&clcid=0x409&ar=MSDN&sar=ProjectCompatibility&o1=F85E285D-A4E0-4152-9332-AB1D724D3325
Then I get redirect to : http://www.asp.net/whitepapers/mvc3-release-notes#upgrading
Do I need to upgrade to MVC3 or I can keep my project in MVC2?
At VinnyG's request I am providing a link to an answer I provided on how to fix this issue. The linked answer provides a fully detailed solution but here is a summary:
ASP.NET MVC 2 will need to be downloaded and installed. The MVC 2 project file will need to be modified removing its project GUID. The removal of the project GUID will mean that the project no longer behaves like an MVC project: no right click to add view, controller, etc., but will compile and work as an MVC 2 project without having to migrate.
Copied from http://msdn.microsoft.com/en-us/library/hh266747.aspx
If the Model-View-Controller (MVC) project uses version 3 or 4, you can open this project in Visual Studio 2012. By default, Visual Studio 2010 with SP1 supports only MVC 2 and 3, and Visual Studio 2012 supports only MVC 3 and 4. For information about how to automatically upgrade from MVC 2 to MCV 3, see ASP.NET MVC 3 Application Upgrader. For information about how to manually upgrade from MVC 2 to MVC3, see Upgrading an ASP.NET MVC 2 Project to ASP.NET MVC 3 Tools Update. If your project targets the .NET Framework 3.5 with SP1, you must retarget your project to use the .NET Framework 4.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With