-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warnings as Errors for test projects #4366
Conversation
777207f
to
61f27e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Providing it builds after the rebase, this looks good to me.
Hi @bdukes |
@daguiler it builds fine for me. What errors are you getting? Are you on the latest |
No, those should be suggestions rather than warnings because of the configuration in Dnn.Platform/DNN Platform/Tests/.editorconfig Lines 153 to 226 in 7c3d891
|
What version of Visual Studio are you using? I bet it's a fairly new feature to read severity for those rules through |
mm.. I'm still on 2017 Enterprise |
According to this article, VS 2017 supports |
The Analyzer configuration documentation says
|
I had an update available for my 2017 version (from 15.9.23 to 15.9.30), but unfortunately it didn't help with this issue. |
If you'd like to submit a change which would work for VS 2017, we'd happily accept it. The best option would be, of course, to resolve the warnings, but that's rather time consuming, which is why we haven't done it 😄 A partial option would be to add a new The other option is to introduce a |
This turns off the documentation rules for StyleCop and turns on Warnings as Errors for all test projects