删除构建时的警告消息
当我在文件上运行 stylecop 时,它会显示警告消息以及其他文件的其他警告消息...我们可以刷新警告屏幕以仅显示 stylecop 警告吗
when i run stylecop on a file it displays warning messages along with other warning messages of other files... can we refresh the warning screen to display only stylecop warnings
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

在构建选项中将警告级别设置为0应该会有所帮助。
当然,最好修复警告:)
可以通过在解决方案资源管理器中右键单击您的项目并选择属性来找到构建选项。然后选择左侧的构建选项卡。
Setting the warning level to 0 in the build options should help.
Of course, it would be better to fix the warnings :)
The build options can be found by right clicking your project in the Solution Explorer and choosing Properties. Then select the Build tab on the left.