有几个源文件hao.add.cs  hao.mail.cs  hao.opens.cs
这个几个文件中的前半部分hao是什么意思,如何把这几个文件重新编译成DLL文件

解决方案 »

  1.   

    谢谢各位啦,我刚刚接触.net希望大家帮我一下
      

  2.   

    在csc.exe中编译:
    csc /t:library /r:System.dll /r:System.Web.dll /out:bin\hao.add.dll hao.add.cs
    csc /t:library /r:System.dll /r:System.Web.dll /out:bin\hao.mail.dll hao.mail.cs
    csc /t:library /r:System.dll /r:System.Web.dll /out:bin\hao.opens.dll hao.opens.cs
      

  3.   

    是你新一个.net项目时的项目名。
      

  4.   

    谢谢各位的答复,我用csc编译后为什么比原来dll文件小呢
    csc /t:library /r:System.dll /r:System.Web.dll /out:hao.dll /recurse:dir\*.cs
    其中dir是这存放这几个源文件的子目录.