Closed 0x15e closed 5 years ago
Does it have the same error in Release mode with optimization turned on?
I just checked and confirmed the same thing happens in Release with optimizations on (also regardless of platform target and bitness preference).
In case it helps anything, here are my msbuild and csc versions:
OK thanks… I'll look into this as soon as possible.
Fixed … Next version will have the fix...
Fantastic. I just built from source and confirmed everything's working on my end as well. Thanks!
Nuget packages are coming. I am unlisting older and merged packages.
Using package versions:
Attempting to build a .NET Framework console app for framework 4.7.2. There's nothing in the project but the necessary nuget packages for the interceptors, an attribute class, a class where it's applied, and Program.cs.
peverify /verbose
produces the error:Attempting to run it anyway results in a System.InvalidProgramException: "Unhandled Exception: System.InvalidProgramException: Common Language Runtime detected an invalid program."
Here's the IL of the class where the interceptor is applied: