NetCoreApp System.codedom

谁都会走 提交于 2019-12-12 02:43:01

问题


I'm creating a new .NET Core application and would like to use System.CodeDom (and .Compiler) as reference. I require the classes: CSharpCodeProvider, CodeMemberProperty, ... However i'm not finding a package via nuget where these types are available. Anybody who knows in which package I can find this for .NET core?


回答1:


I found this one CoreCompat.System.CodeDOM which is resolving some of my issues. This is still in beta, so if there is an RTM available this can be added here.




回答2:


CodeDOM is not currently available on .Net Core and it seems it's not planned to be included anytime soon.

Your best choice is to use Roslyn libraries instead.



来源:https://stackoverflow.com/questions/39543882/netcoreapp-system-codedom

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!