R# 7.0.1/VS2010 - Custom Generated Class - Preventing Analysis Of

We have a custom tool that generates a custom class off of all of our MVC Views (.cshtml files).  These files are standard .cs files marked with simular // <auto-generated> comments in the header.  Is there a way that I can configure via the Resharper -> Options -> Generated Code page to not analyze these files?  In particular, we have all of the XML comments warnings set as errors and R# kicks all of these generated classes with multple errors on missing XML comments (which is true).

3 comments
Comment actions Permalink

Hello David
     You should be able to do this by adding these files to 'Edit Items to Skip' list under ReSharper | Options | Code Inspection | Settings. Let me know if this helps. Thank you!

Andrey Serebryansky

Software Developer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

The problem with that is the number of files - currently over 100 and growing.  I am aware of the Items to Skip dialog and it works when there is a finite number of items, but when the number grow, it becomes a burden on all of the developers to maintain.  I am  looking for a more generatized means.

0
Comment actions Permalink

Hello David
     The only thing I can suggest is to use file masks in the 'Edit Items to Skip' dialog. This is the most general way to prevent files from being analyzed. Thank you!

Andrey Serebryansky

Software Developer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.