问题描述
我有一个程序集X中所引用 System.Interactive
和 System.Reactive
从lib文件夹。然后,我有组装y表示所引用的X.
I have an assembly X that is referencing System.Interactive
and System.Reactive
from a lib folder.Then I have assembly Y that is referencing X.
在x对于两者 System.Interactive
和 System.Reactive
,复制本地设置为true 。在Y表示X'复制本地设置为true。 System.Reactive
和 System.Interactive
不在GAC。
In X for both, System.Interactive
and System.Reactive
, 'Copy Local' is set to true.In Y for X 'Copy Local' is set to true.System.Reactive
and System.Interactive
are not in the GAC.
当我建立Y, System.Interactive
和 System.Reactive
不会被复制到输出目录。为什么呢?
When I build Y, System.Interactive
and System.Reactive
are not copied to the output directory. Why?
推荐答案
Y不继承X复制本地选项,如果你想System.Interactive和System.Reactive部署与Y,然后参考他们俩Y和Y轴将其标记为复制本地=真正的
Y does not inherit "copy local" options from X. If you want System.Interactive and System.Reactive to be deployed with Y, then reference them both from Y, and in Y mark them as "Copy Local = true".
这篇关于"复制本地"不复制组件,以输出目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!