Ignore warnings in generated files #525
ryan-morris
started this conversation in
General
Replies: 1 comment
-
One option that comes to mind is to create your own Another option would be to configure StyleCop to exclude generated code using the |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
We have a lot of analyzers that the generated files are triggering. Is it possible to add something like
#pragma warning disable
into the generated files? I tried doing TypeVisitor and adding annotations per class but some of our analyzers run on file level, for example specific file header with stylecop etc.Beta Was this translation helpful? Give feedback.
All reactions