Visual Studio 2013 Compiler Warnings not Showing

。_饼干妹妹 提交于 2019-12-01 11:09:44

I ran into the solution by coincidence.

- Right click on your project a select "Properties".
- Go to the "Code Analysis" tab on the left.
- Change the Rule Set to "Microsft All Rules".

I had it set to "Microsft Managed Recommended Rules" by default, which did not even show warning for straight forward things like unused local variables. I selected "Microsoft All Rules" for a more granular set of warnings.

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