MSTest无法找到装配体

aer*_*ruL 11 c# unit-testing mstest vs-unit-testing-framework

我在使用MSTest

我使用命令mstest /testsettings:local.Testsetting /testcontainer:folder\obj\Debug\test.dll

这是输出,

运行具有以下问题:警告:测试运行部署问题:程序集或模块'Microsoft.Practices.未找到由测试容器'test.dll'直接或间接引用的Prism.警告:测试运行部署问题:未找到测试容器"test.dll"直接或间接引用的程序集或模块"Project.Common.dll".警告:测试运行部署问题:未找到测试容器"test.dll"直接或间接引用的程序集或模块"Project.Infrastructure.dll".警告:测试运行部署问题:程序集或模块'Microsoft.Practices.未找到由测试容器'test.dll'直接或间接引用的Prism.

我能做什么让MSTest运行良好.

Ewa*_*man 4

您可以将 Prism 文件安装在构建服务器的 GAC 中。