Could not load type 'System.Runtime.InteropServices.Marshal' from assembly 'System.Runtime'
I use System.Runtime.InteropServices.Marshal in the wpf project of .net core 3.0, which works fine in the native development environment, but when it is released to other machines, it prompts "System.TypeInitializationException: The type initializer for '
@okman523 We would need to see the application and how this was being deployed to the other environment to understand the issue here. Is there a repo we can examine or can you post the project on a gist?
@okman523 Closing this due to inactivity. If the issue continues, please reply here and we can reopen. Thank you.