我有一个单元测试项目和一个引用dll B的项目A.当对dll B进行更改并再次构建解决方案时,我得到一个错误消息:无法加载dll B或它的依赖项之一.尝试运行测试项目. dll B不 存在于测试项目的引用中.
I have a unit test project and a project A that refers to the dll B. When make changes to the dll B and build my solution again I get an error meassage: could not load dll B or one of it's dependencies when i try to run the test project. The dll B does not exists in the references of the test project.
谢谢
Jaana
推荐答案
使用配置管理器
内部版本=>配置管理器
Build => configuration manager
要在单击F5时告诉我什么是构建,请构建或运行.
To tell what is build when you click F5, build or run.
要添加引用用途(我假设您使用的是Visual Basic的较新版本,因为您并未对此进行任何编写)
To add a reference use (I assume you use a newer Visual Basic version because you did write nothing about that)
项目->添加参考->根据您的情况进行编程
Project -> Add Reference -> Program in your case
更多推荐
单元测试,无法加载dll
发布评论