一、下载地址:

下载地址:http://www.microsoft.com/downloads/details.aspx?FamilyID=c9ba1fe1-3ba8-439a-9e21-def90a8615a9&displaylang=en

     在4.12号发布的vs 2010正式版,Visual Web Developer 2010正式版中将会置对asp.net mvc2的支持.

在页面底部有三个文件下载ASP.NET-MVC-2-RTM-Release-Notes.doc、AspNetMVC2_VS2008.exe和mvc2-ms-pl.zip。下载完后安装AspNetMVC2_VS2008.exe即可,

注意:前提是你必须安装了vs2008sp1:

下载地址: http://www.microsoft.com/downloads/details.aspx?familyid=27673C47-B3B5-4C67-BD99-84E525B5CE61&displaylang=zh-cn

 

二、从1.0到2.0的转换

http://weblogs.asp.net/leftslipper/archive/2009/10/19/migrating-asp-net-mvc-1-0-applications-to-asp-net-mvc-2.aspx

 

在Download下面点链接下载

The app is a single executable: Download MvcAppConverter.zip (220 KB).

解压缩后选择对应的MVC1.0的solution进行转换即可

 

三、已安装vs2010beta时的解决办法:

在ASP.NET-MVC-2-RTM-Release-Notes.doc中有这样的说明:

Note

Because Visual Studio 2008 and Visual Studio 2010 RC share a component of ASP.NET MVC 2, installing the ASP.NET MVC 2 RTM release on a computer where Visual Studio 2010 RC is also installed is not supported.

也就是说在安装完vs2010beta后,再安装AspNetMVC2_VS2008.exe会提示已经安装完成,但是vs2008缺没有对应的MVC2,如果打开包含MVC2的Project,会报如下的错误:

The project type is not support by this installation.

我的解决方法是:

在不卸载2010的情况只需要从添加、删除程序里面把
Microsoft ASP.NET MVC2和Microsoft ASP.NET MVC2-visual studio 2010 tools卸载,然后再装AspNetMVC2_VS2008.exe即可。

 

四、学习资源:

http://www.asp.net/mvc/



 

 

 

posted on 2010-03-30 12:41  高山流水2012  阅读(4317)  评论(4编辑  收藏  举报