How do you stop the DiaSession warning from TFS CI build when using NUnit?

冷暖自知 提交于 2019-12-12 02:56:20

问题


How do you stop the DiaSession warning from TFS CI build when using NUnit?

0 error(s), 1 warning(s)
Unable to create DiaSession for .... 
No source location data will be available for this assembly.

回答1:


You need to use add the /p:NoWarn=warningNumber in MSBuild Arguments in the build definition. Or use the /p:WarningLevel=0 argument to suppress all warnings.



来源:https://stackoverflow.com/questions/33548560/how-do-you-stop-the-diasession-warning-from-tfs-ci-build-when-using-nunit

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