简体   繁体   English

TFS2013 新构建定义错误:找不到类型或命名空间名称“TestClassAttribute”

[英]TFS2013 new build definition error: The type or namespace name 'TestClassAttribute' could not be found

I created a new build definition on a new installation of TFS 2013 Update 3. I'm using the TfvcTemplate.12.xaml build process template.我在新安装的 TFS 2013 Update 3 上创建了一个新的构建定义。我使用的是 TfvcTemplate.12.xaml 构建过程模板。 The tests in the solution use MSTest but won't compile.解决方案中的测试使用 MSTest 但不会编译。 Here are some of the errors:以下是一些错误:

The type or namespace name 'TestClassAttribute' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'TestClass' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'TestMethodAttribute' could not be found (are you missing a using directive or an assembly reference?) The type or namespace name 'TestMethod' could not be found (are you missing a using directive or an assembly reference?)找不到类型或命名空间名称“TestClassAttribute”(是否缺少 using 指令或程序集引用?)找不到类型或命名空间名称“TestClass”(是否缺少 using 指令或程序集引用?)找不到类型或命名空间名称“TestMethodAttribute”(是否缺少 using 指令或程序集引用?)找不到类型或命名空间名称“TestMethod”(是否缺少 using 指令或程序集引用?)

What am I missing?我错过了什么?

Visual Studio 需要安装在生成服务器上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM