简体   繁体   English

如何设置* .dll文件的“复制本地”属性?

[英]How to set “Copy Local” property of a *.dll file?

So, I asked this question before and as suggested, I need to set my dll's "Copy Local" property to "True". 因此,我之前问过这个问题 ,并根据建议,我需要将dll的“ Copy Local”属性设置为“ True”。 However, I am not able to find that in the "Property" section of the dll. 但是,我无法在dll的“属性”部分中找到该文件。 I can set the "Copy Local" property of the "References" per se, like "System.Web" etc. But how to set the "Copy Local" property of the dll file which I have referenced, and which I can see in the Bin folder. 我可以设置“参考”本身的“复制本地”属性,例如“ System.Web”等。但是,如何设置我引用的dll文件的“复制本地”属性,我可以在Bin文件夹。 Thanks so much. 非常感谢。

"Copy Local" is not a setting for dlls but for reference to dll as you have noticed. 您已经注意到,“复制本地”不是dll的设置,而是对dll的引用。 And this is exactly the property that needs to be changed. 而这正是需要更改的属性。 Setting it to true will force dll to be copied to bin folder. 将其设置为true将强制将dll复制到bin文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM