Unhandled exception launching debugger

If I try and launch the attached in the debugger I get

~> Process ConsoleApplication3 started, took 0.686.
Unhandled exception. System.Runtime.InteropServices.MarshalDirectiveException: Cannot marshal 'parameter #1': Invalid managed/unmanaged type combination (Marshaling to and from COM interface pointers isn't supported).
Fatal error. Internal CLR error. (0x80131506)

ConsoleApplication3.zip (139.0 KB)


.NET Core? Then this is a known issue with v7.

Logged as bugs://E26211.

yes it is.

1 Like

bugs://E26211 was closed as fixed.