For ASP.NET solutions
第一种:
ASP.NET解决方案
1. close your solution.
1。关闭你的解决方案。
2. delete hidden <name of the solution>.sou file in folder where your solution's <name of the solution>.sln file exists.
2。删除解决方案中.sou后缀的隐藏文件 (工具-查看-选中显示隐藏的文件、文件夹和驱动器)
3. open your solution.
3.重新打开你的解决方案。
4. rebuild your solution.
第二种:
在VS中把你打开的所有文件通通关掉,再清理解决方案…………关闭VS
然后把我的电脑打开,定位到:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
然后删除里面的所有文件及文件夹…… (v2.0.50727 这个代表 版本号,找到对应的版本号文件删除)
再打开项目……