如何将Class文件创建为DLL [英] How to create Class file into DLL
本文介绍了如何将Class文件创建为DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友,
在这里,我想将Class文件创建为DLL. 如何创建
如何创建?那要采取什么步骤?
问候,
Anilkumar.
Dear Friends,
Here I want to create Class file into DLL. HOW TO CREATE
How to create? And what are the steps for that?
Regards,
Anilkumar.
推荐答案
您需要创建一个类库项目,它将创建一个dll,然后您可以在其他项目中引用该dll.
如果您还有其他需要,请告诉我们.
You need to create a Class Library project, it will create a dll and then you can refer that dll in other projects.
Please let us know if you want anything else.
^ ]
您需要使用csc进行编译,并将目标设置为库-csc /target:library
.
请参见此处 [
You need to compile using csc with the target set to library -csc /target:library
.
See here[^] for an example.
这篇关于如何将Class文件创建为DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文