Visual Studio 2010 Could not load ASP.Net MVC Project – VS2010不能開啟ASP.Net MVC 的Project

今天同事開始學習寫ASP.Net MVC 3的Website
希望當我在放假時公司的網頁有Bugs或需要加新功能時
他也可以嘗試去解決問題

誰不知..當他從TFS 取後Project卻出現以下的錯誤信息
One or more projects in the solution were not loaded correctly. Please see te Output Windows for details
One or more projects in the solution were not loaded correctly. Please see te Output Windows for details

當我查看 “Output Windows/輸出視窗” 時出現了以下的信息
The project type is not supported by this installation.
The project type is not supported by this installation.
其他原因很簡單..
是因為他沒有在電腦上安裝ASP.Net MVC3的元件
解決方法:
大家可以到ASP.Net 的網頁上Download.
http://www.asp.net/mvc/mvc3
ASP.Net Website Download ASP.Net MVC
之後開啟安裝便可以了
Install ASP.Net MVC 3 via Web PI
Happy Coding

Leave a Reply