how to turn off “warning treaded as error” in visual studio for mac

╄→尐↘猪︶ㄣ 提交于 2020-05-16 04:05:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!