类库编译生成dll
Visual Studio 工具命令提示,进入要编译的类的目录,运行
csc /target:library 类文件
例如:d:\App_code有个要编译的file.cs类。
->d:\App_code
->d:app_code csc /target:library file.cs
vb.net 编译
E:\Source\ProofAddBackGround\ProofAddBackGround>vbc /t:library /r:Interop.Acrobat.dll PdfAddBackground.vb

浙公网安备 33010602011771号