MSTest找不到程序集 [英] MSTest cannot find the assembly

查看:89
本文介绍了MSTest找不到程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆