Converting a mvc application to .net4

2019-07-27 12:07发布

问题:

I have an MVC web application in asp.net 3.5 How can I convert that to asp.net4? Everywhere I read tells me to use a conversion wizard, well no conversion wizard starts when I open the project in vs. can i manually start the wizard?

I am using vs 2010

Thanks

回答1:

You could also just Right click the project in Solution Explorer -> Property Pages -> Change the Target Framework



回答2:

Check these links

http://weblogs.asp.net/leftslipper/archive/2010/07/28/migrating-asp-net-mvc-2-applications-to-asp-net-mvc-3-preview-1.aspx

And also,

Upgrade MVC 2 to MVC 3 issues with views

before you migrate to mvc3.

Hope it helps you