摘要:
//假设我们己经把b.cs文件上传到TempDll文件夹下,下面我们取得该文件和将要生成的DLL文件路径 string strCS = Server.MapPath("TempDll/b.cs"); string strDll = strCS.Substring(0, strCS.LastIndexOf(".")) + ".dll"; CodeDomProvider COD = new Microsoft.CSharp.CSharpCodeProvider(); COD = new Microsoft.CSharp.CSharpCod 阅读全文