I'm working on a .NET 7 WPF application that relies on a .NET Framework (4.8.1) library that uses Reflection.Emit (with AssemblyBuilder.Save). When I call methods from that library from my application, it throws an exception complaining that it can't find the Reflection.Emit methods. Is there a way to start the .NET Framework methods in their own process, so they can access the required methods?
Reflection.Emit.