在.net框架中,我可以使用csc.exe将一个cs文件编译为dll文件。
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe /t:library /out:MyCScode.dll *.cs /debug /r:System.dll /r:System.Web.dll /r:System.Data.dll /r:System.Xml.dll
Run Code Online (Sandbox Code Playgroud)
我怎样才能在 dotnetcore 中做到这一点?