The project file ' ' has been renamed or is no longer in the solution. 解决方案

问题:昨天因为急着下班,在关闭VS2008的时候卡住了,然后用任务管理器,强制结束VS2008进程,导致今天早上来公司发现网站无法编译,错误提示:

 

---------------------------
Microsoft Visual Studio
---------------------------
The project file ' ' has been renamed or is no longer in the solution.
---------------------------
OK   
---------------------------

 

在google后,解决方法如下:

   1. Right click the Web project and select Property Pages.
   2. A window will open which lists all the references, either to the bin-folder, GAC or other projects in the solution.
   3. Remove those that show (unavailable) behind it.
   4. Chances are that now you can't build because the reference is not there. Simply add the reference again and you should be OK
 

posted on 2011-02-23 09:59  咖啡色  阅读(1029)  评论(0编辑  收藏  举报