Putting Resharper's ignored errors under version control

When I ignore specific errors in "Errors in Solution" window, Resharper remembers this setting.

在这里输入图像描述

I tried to reboot and restart Visual Studio, the ignored errors stayed ignored. Now I wanted to pass the ignored errors list to another programmers in the team by putting some setting file under version control. But I could not find where does Resharper store which errors are ignored. I have the following versions of SW.

Visual Studio 2012 
JetBrains ReSharper 8.2.1 Full Edition
Build 8.2.1000.4556 on 2014-05-19T10:12:38

Update: I removed files in the following folder and the ignored errors reset, all errors became unignored.

%AppData%..LocalJetBrainsReSharperv8.2SolutionCaches

So it keeps the ignored errors somewhere in those files. Still I did not see the way to put it under version control.


Though not related to the exact issue of the original poster, you might have stumbled upon this question looking for the answer below :)

If you've changed the behavior of an inspection from the glyph like this and saved it to a configuration layer and set it to Do Not Show or something else and then saved it to the Team level:

配置检查严重性。在这里输入图像描述

Then depending on where you set the value, Computer, Solution personal or Solution Team, it's stored in a different settings file.

You can then add the Solution.sln.DotSettings file to source control to share these suppression between all team members.

To undo the supression of such warnings, you'll have to venture into the layered options structure of Resharper, which can be a little confusing if you haven't gone in there before.

管理选项

Then depending on where it's saved, look under the wrench item for the selected layer:

编辑图层

Find the inspection and set it:

设置检查


In the toolbar to the solution errors window, there should be an export button. You should be able to export all ignored items to xml or html here.

链接地址: http://www.djcxy.com/p/20944.html

上一篇: @ControllerAdvice异常处理与@ResponseStatus一起

下一篇: 在版本控制下放置Resharper的忽略错误