转换的.cs到.dll文件 [英] Convert .cs to .dll

查看:155
本文介绍了转换的.cs到.dll文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何编译.cs文件到一个DLL?

How can I compile a .cs file into a DLL?

我的项目名称是华盛顿。在我的文件夹中的编译后,我发现:

My project name is WA. In my bin folder after the compilation, I found:


  • WA.exe

  • WA.vshost.exe

  • WA.pdb

  • WA.exe
  • WA.vshost.exe
  • WA.pdb

推荐答案

你必须编译:

csc /t:library source.cs  -> source.dll

这篇关于转换的.cs到.dll文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆