Closed devna13 closed 1 year ago
I'll mark this as 'help wanted'. There are probably better ways to handle these errors and would be open to contributions to improve it.
(FYI - this project is in maintenance mode right now. See #117 for detail on what the applied labels indicate.)
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please comment if you believe this should remain open, otherwise it will be closed in 14 days. Thank you for your contributions to this project.
Closing due to inactivity. If you are looking at this issue in the future and think it should be reopened, please make a commented here and mention natemcmaster so he sees the notification.
I'm new to this awesome repo, and using EnableHotReload to update plugins on the fly similar to your hot reload sample
everything works great but I ran into an edge case; If I publish a bad plugin, that doesn't have all of it's dependencies, it causes the host app to crash with this CLR exception
I was wondering if wrapping this line in try catch would resolve it, or there is a better way to prevent host from crashing
https://github.com/natemcmaster/DotNetCorePlugins/blob/452f8d306ef17c84c8b02b948e93eb95ef182be3/src/Plugins/PluginLoader.cs#L225
Thanks