Ignore designer and generated files in Resharper analysis

Posted by RaYell on Stack Overflow See other posts from Stack Overflow or by RaYell
Published on 2010-06-09T12:20:16Z Indexed on 2010/06/09 12:22 UTC
Read the original article Hit count: 181

Filed under:
|
|

I've been using Resharper for a few days and I really like this tool, but there's one thing that annoys me about it and I wonder if it can be changed.

I'm getting lots of issue notifications from generated code (almost 1400 in my project). I'd want to set those files as ignored so they won't be checked as you can do with StyleCop and CodeAnalysis. Unfortunatelly it looks like Resharper ignores Generated Code settings from it's options because I'm still getting the same notifications. I've tried setting a file mask (i.e. for *.resx) and add files manually to generated, but still it doesn't change anything.

I don't know if it matters but I'm using VS 2010.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about visual-studio