Debug .NET 8 windows application gets "Bad IL format"
Somehow our .NET 8 windows application cannot be started with the debugger of Rider. I get a System.BadImageFormatException: Bad IL format. I can attach to the process though and seem to work fine, so we have a workaround. But a bit annoying.
We are using SDK 8.0.118.
In Visual Studio there is not a problem, it just starts without complaining.
Please sign in to leave a comment.
Jacob Vandijk, could you clarify if this issue affects only one specific project or any .NET project in your environment?
In addition to that, please collect and send us your Rider logs with additional diagnostics. Please follow these steps to collect the logs:
You can send us the logs in the Upload Service and let us know the Upload ID in this thread