[Silverlight入门系列]CopyLocal=False or CopyLocal=True?
时间:2011-02-23 来源:Mainz
The project-assigned value of CopyLocal is determined in the following order:
-
- If the reference is another project, called a project-to-project reference, then the value is true.
- If the assembly is found in the global assembly cache, the value is false.
- As a special case, the value for the mscorlib.dll reference is false.
- If the assembly is found in the Framework SDK folder, then the value is false.
- Otherwise, the value is true.
看完了很晕吧,我的理解是如果你工程的某个dll/assembly不包含在父工程的引用列表里面,那个CopyLocal应该设为True,否则应该设为False. 如果引用的是另外一个工程,那么CopyLocal默认是True.
相关阅读 更多 +