Silence code analysis for "Add ServiceStack reference..." generated code.
The generated code does not conform to company rules so I get a bunch of useless warnings when I run code analysis on my solution.
Just adding a
// <auto-generated>
// This code was generated by ServiceStack.
// </auto-generated>
block above or below the /* Options: */ block would be enough to exclude the generated file from code analysis.
1
vote

-
Richard Marcum commented
Have you tried turning this option on?
//AddGeneratedCodeAttributes: False