Does desharp support for c# net core 3.0 ?
System.TypeInitializationException: The type initializer for 'Desharp.Debug' threw an exception.
---> System.TypeInitializationException: The type initializer for 'Desharp.Core.Dispatcher' threw an exception.
---> System.TypeLoadException: Could not load type 'System.Web.Hosting.HostingEnvironment' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
--- End of inner exception stack trace ---
at Desharp.Core.Dispatcher.GetCurrent(Boolean createIfNecessary)
Hello,
it would be really great to add support for the .NET Core environment, but there has to be solved a lot of changes.
Maybe also to add some breaking changes - to rename environments Desharp.EnvType in which Desharp runs and automatically decides about them for now.
Unfortunately, I have to include this requirement for some future release without a release date. I will have to find out more information to determine the development time.
But of course I would like to add this support in the future.
Most work must be done in the Desharp.Core.Dispatcher class in a static constructor, where is necessary to detect a different way the document root folder and other key properties.
If you have a time now to do it, It will be absolutelly welcome. Could you try to do some fork and push?
Glad to receive your reply, I am a c# beginner, finally I turn to use JSON serialize the obj to print to log or console
Yeah, great solution for dumping:-)