I have an SDK Style .net472 project using unmanagedexports.repack\1.0.4\
The exports work correctly, but whenever I try to attach a debugger, or debug via unittest, Visual Studio will ask me:
Find Source: {projectName}.il
How can I resolve this issue? If I remove the package debugging works again.
I solved it by
DLLExportpackage instead ofUnmanagedExportsAnyCPUinstead ofx86DLLExportconfiguration, selectx86+x64x86output bin folderThe
AnyCpuis required as a workaround for now, asDLLExportwill exhibit the same behavior as the original post if just targetingx86, in current version 1.7.4