问题
I have been doing some work on a ASP.NET MVC project today i tried to publish the website but i ve got an error. my hosting service provider told me is due to the fact that i have version 1 while they support version 2. how can i upgrade to version 2? are the differences between the two version so extreme that a previous version is not supported by the successuve?
thanks
回答1:
That seems very unusual, because:
- MVC 2 is still in beta, and
- The two versions can be run side by side.
回答2:
This sounds backwards (i.e. I would see if they only supported 1, not 2). 2 is not yet final, unless I'm very much wrong.
MVC should be bin-deployable. Just mark the reference (to your current v1 ref) to copy local and try publishing that way.
回答3:
There is a guidance document on MSDN :Upgrading an ASP.NET MVC 1.0 Application to ASP.NET MVC 2. I used it today and it was very helpful in migrating my application.
来源:https://stackoverflow.com/questions/1829560/upgrade-to-asp-net-mvc-version-2