MSTest 找不到程序集 [英] MSTest cannot find the assembly
问题描述
我使用的是 MSTest
I was using MSTest
我使用命令 mstest/testsettings:local.Testsetting/testcontainer:folderobjDebug est.dll
and i use command mstest /testsettings:local.Testsetting /testcontainer:folderobjDebug est.dll
这是输出,
Run 存在以下问题:警告:测试运行部署问题:组件或模块'微软.实践.直接棱镜或被测试间接引用未找到容器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屋!