码迷,mamicode.com
首页 > 其他好文 > 详细

Visual Studio displaying errors even if projects build

时间:2020-04-03 16:39:46      阅读:64      评论:0      收藏:0      [点我收藏+]

标签:ensure   neither   down   title   environ   visual   perl   file   play   

Visual Studio displaying errors even if projects build

回答1

If you have ReSharper, try emptying the ReSharper cache:

In menu, ReSharper > Options > Environment > General > Clear Caches

and disabling and re-enabling ReSharper:

In menu, Tools > Options > ReSharper > General > Suspend / Restore

 

 回答2

Clearing Resharper‘s cache did not help in my case, tried suspend/restore, and also Repair Resharper, using latest download off JetBrains‘ website - neither of these helped. This is after I tried close/reopen VS, restart my machine, repeat, Build/Rebuild and combination thereof.

It‘s interesting that suspending Resharper seemed to solve the problem after the 2nd restart of VS, but it was back after I enabled Resharper <-- I tried to do this sequence 2-3 times to ensure the pattern.

Anyway, I was still having issues when I found this article:

So I deleted the hidden .SUO file on the same folder level with solution, and it magically solved all reds.

Note - for Visual Studio 2015, the .SUO file is in .vs/[solution_name]/v14 hidden folder.

 

Visual Studio displaying errors even if projects build

标签:ensure   neither   down   title   environ   visual   perl   file   play   

原文地址:https://www.cnblogs.com/chucklu/p/12627129.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!