Replies: 1 comment
-
strict means something else; you're looking for TreatWarningsAsErrors. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am sorry if this is not the correct forum.
I am trying to get
dotnet build <project>
to fail if there are any warnings. I have enabled strict mode using<Features>strict</Features>
in my project. Currently, it displays warnings but does not error out with a non-zero exit code.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions