简体   繁体   English

我可以将XML-RPC.net编译为静态lib并与DLL一起使用吗?

[英]Can I compile XML-RPC.net to a static lib and use with DLL?

I'm coming from C++ world. 我来自C ++世界。 I have a small project in C#, I didn't found a way and I don't even know if it's possible to take a DLL like the XML-RPC.net and compile it so static lib , and then use it with my project DLL, link it statically . 我在C#中有一个小项目,我没有找到方法,甚至不知道是否有可能采用XML-RPC.net这样的DLL并将其编译为静态lib,然后将其与我的项目一起使用DLL,静态链接。

You shouldn't need to do this (you usually just ship dependencies in the same directory as your entry point assembly) but you can merge it into your application using ILmerge if you really want which is equivalent to static linking in the CLR. 您不需要这样做(通常只需将依赖项与入口点程序集一起运送到同一目录中),但是如果您确实需要,则可以使用ILmerge将其合并到应用程序中,这等效于CLR中的静态链接。

http://www.microsoft.com/download/en/details.aspx?id=17630 http://www.microsoft.com/download/en/details.aspx?id=17630

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

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