在每次构建后,如何防止Visual Studio切换到“代码分析”选项卡? [英] How do you prevent Visual Studio from switching to the Code Analysis tab after each build?

查看:70
本文介绍了在每次构建后,如何防止Visual Studio切换到“代码分析”选项卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次构建后,Visual Studio 2012从解决方案资源管理器切换到代码分析选项卡,通常带有黄色的未检测到代码分析问题。 (还可以说 TA DA!)。



是否可以关闭选项卡切换(将其保留在解决方案资源管理器上)? [因为在解决方案或选项中找不到它。]



谢谢!

解决方案

VS 2012



到目前为止,我发现最好的答案是将代码分析视图的选项卡从解决方案资源管理器。我将其停靠在解决方案资源管理器下方,并将其设置为大约1英寸高-因此,在极少数情况下,我仍然希望查看它报告的内容,而又不会一直丢失我的解决方案资源管理器。



这仍然是不必要的,但刺激性要小得多。






更新-VS 2013



在VS 2013中,您现在可以单击代码分析视图中的设置选项,并禁用检测到问题时显示窗口选项。 / p>

After each build, Visual Studio 2012 switches from the Solution Explorer to the Code Analysis tab, usually with the yellow "No code analysis issues were detected." (Might as well say "TA DA!").

Is there an option to turn off the tab switching (keeping it on Solution Explorer)? [because I can't find it either in Solutions or Options].

Thanks!

解决方案

VS 2012

The best answer I have found so far is to drag the Code Analysis view's tab away from the Solution explorer. I've docked mine below the Solution explorer and made it about 1 inch high - so I can still see what it is reporting on the rare occasions when I wish to check it, but without losing my Solution Explorer all the time.

It's still unnecessary but a lot less irritating.


Update - VS 2013

In VS 2013 you can now click the Settings option in the Code Analysis view, and disable the Show window when issues are detected option.

这篇关于在每次构建后,如何防止Visual Studio切换到“代码分析”选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆