我有一个Visual Studio解决方案。 我有很多项目的解决方案。 有它充当启动时,使用其他项目的主项目。 有一个项目说ProjectX的。其引用添加到主项目。 该引用ProjectX的其他.NET的DLL(比如abc.dll)不是解决方案的一部分。
I have a visual studio solution. I have many projects in the solution. There is one main project which acts as the start up and uses other projects. There is one project say "ProjectX". Its reference is added to main project. The ProjectX references another .NET dll (say abc.dll) that isn't part of the solution.
现在这个abc.dll应该被复制到主体工程斌/ debug文件夹中,但它没有得到复制那里。为什么没有得到复制,任何已知的原因?
Now this abc.dll should be copied to bin/debug folder of main project, but it isn't getting copied there. Why is it not getting copied, any known reasons ?
是的,你需要设置复制本地
到真
。然而,我是pretty的确定您还需要引用组件与主体工程并设置复制本地
到真
以及 - 它不只是得到的依赖程序集复制
Yes, you'll need to set Copy Local
to true
. However, I'm pretty sure you'll also need to reference that assembly from the main project and set Copy Local
to true
as well - it doesn't just get copied from a dependent assembly.
您可以在引用点击组件到达
和pressing F4 复制本地
属性
You can get to the Copy Local
property by clicking on the assembly under References
and pressing F4.
下一篇:并发字典正确使用字典、正确