MSTest找不到程序集 [英] MSTest cannot find the assembly
问题描述
我正在使用MSTest
I was using MSTest
我使用命令mstest/testsettings:local.Testsetting/testcontainer:folder\obj\Debug\test.dll
and i use command mstest /testsettings:local.Testsetting /testcontainer:folder\obj\Debug\test.dll
这是输出
运行存在以下问题: 警告:试运行部署问题: 组件或模块 微软的实践.棱镜' 或测试间接引用的 找不到容器"test.dll". 警告:试运行部署问题: 组件或模块 直接使用"Project.Common.dll"或 测试间接引用 找不到容器"test.dll". 警告:试运行部署问题: 组件或模块 直接'Project.Infrastructure.dll' 或测试间接引用的 找不到容器"test.dll". 警告:试运行部署问题: 组件或模块 微软的实践.棱镜' 或测试间接引用的 找不到容器"test.dll".
Run has the following issue(s): Warning: Test Run deployment issue: The assembly or module 'Microsoft.Practices. Prism' directly or indirectly referenced by the test container 'test.dll' was not found. Warning: Test Run deployment issue: The assembly or module 'Project.Common.dll' directly or indirectly referenced by the test container 'test.dll' was not found. Warning: Test Run deployment issue: The assembly or module 'Project.Infrastructure.dll' directly or indirectly referenced by the test container 'test.dll' was not found. Warning: Test Run deployment issue: The assembly or module 'Microsoft.Practices. Prism' directly or indirectly referenced by the test container 'test.dll' was not found.
我该怎么办,MSTest才能很好地运行.
What can i do so MSTest can run well.
推荐答案
您可以在构建服务器的GAC中安装Prism文件.
You can install the Prism file in the GAC of your build server.
这篇关于MSTest找不到程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!