❔ System.BadImageFormatException: Cannot load a reference assembly for execution.
Hello,
I'm trying to debug this exception in my C# app.
I've tried solutions from stack overflow - ie. cleaning and rebuilding the app; as well as updating the .NET framework that this app targets. But to no results.
I'm at the point where each library needs to be checked if a library is causing this exception or if a library is completely missing.
I'm curious if others here have experienced similar runtime exceptions in the past and if there are other considerations.
Thank you for reading this post
I'm trying to debug this exception in my C# app.
I've tried solutions from stack overflow - ie. cleaning and rebuilding the app; as well as updating the .NET framework that this app targets. But to no results.
I'm at the point where each library needs to be checked if a library is causing this exception or if a library is completely missing.
I'm curious if others here have experienced similar runtime exceptions in the past and if there are other considerations.
Thank you for reading this post