【问题标题】:TFS2013 new build definition error: The type or namespace name 'TestClassAttribute' could not be foundTFS2013 新构建定义错误:找不到类型或命名空间名称“TestClassAttribute”
【发布时间】:2014-12-05 22:26:48
【问题描述】:

我在新安装的 TFS 2013 Update 3 上创建了一个新的构建定义。我正在使用 TfvcTemplate.12.xaml 构建过程模板。解决方案中的测试使用 MSTest 但不会编译。以下是一些错误:

找不到类型或命名空间名称“TestClassAttribute”(您是否缺少 using 指令或程序集引用?) 找不到类型或命名空间名称“TestClass”(您是否缺少 using 指令或程序集引用?) 找不到类型或命名空间名称“TestMethodAttribute”(您是否缺少 using 指令或程序集引用?) 找不到类型或命名空间名称“TestMethod”(您是否缺少 using 指令或程序集引用?)

我错过了什么?

【问题讨论】:

    标签: tfs tfsbuild tfs-2013


    【解决方案1】:

    Visual Studio 需要安装在构建服务器上。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-09-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-14
      • 2019-09-14
      • 2013-10-23
      相关资源
      最近更新 更多