问题
I have the following error when I use the visual studio for mac, and I want to turn off this feature. There is no such option in Solution Explorer > Options > Builds
.../Serialization.cs(27,27): Error CS0219: Warning as Error: The variable `xmlBuildOption' is assigned but its value is never used (CS0219) (FoundationBase)
回答1:
Project Options
/ Build
/ Compiler
Last item on that property page is "Treat warning as errors"
来源:https://stackoverflow.com/questions/41096334/how-to-turn-off-warning-treaded-as-error-in-visual-studio-for-mac