将我的编码ui测试从VS2012迁移到VS2013后,我面临调试跟踪记录问题。什么曾经使用的配置我仍然得到调试跟踪消息!
我确实添加了以下配置:
<system.diagnostics>
<switches>
<!-- Trace settings for MTR -->
<!-- Change the value to change the level of tracing you want.
You must use integral values for "value".
0 ==> off,
1 ==> error,
2 ==> warn,
3 ==> info,
4 ==> verbose.
Note that each value is inclusive of the last.
-->
<add name="UITestTraceLevel" value="0" />
<add name="EqtTraceLevel" value="0" />
<add name="TestManagement" value="0" />
<add name="TeamBuild" value="0" />
<add name="TeamFoundationSoapProxy" value="0" />
</switches>
<trace autoflush="true"/>
以下所有文件:
是否有人有任何提示或解决方法来禁用此调试跟踪?
答案 0 :(得分:0)
确保将其设置为NO
<appSettings>
<add key="CreateTraceListener" value="no"/>