【发布时间】:2015-11-09 11:10:19
【问题描述】:
在使用 NUnit 时如何阻止来自 TFS CI 构建的 DiaSession 警告?
0 error(s), 1 warning(s)
Unable to create DiaSession for ....
No source location data will be available for this assembly.
【问题讨论】:
-
它是 Nunit TestConverter 类的一部分,他们评论说他们在 DiaSessions 上有问题,所以你会收到警告。您可以扩展 NUnit 以删除警告或抑制 msbuild nowarn上的警告?
-
扩展 TestConverter 类以提供特定的错误编号,并在 msbuild 中抑制该编号也可能有效...
标签: continuous-integration nunit