CppSharp icon indicating copy to clipboard operation
CppSharp copied to clipboard

DllImport from .exe

Open maximegmd opened this issue 4 months ago • 0 comments

https://github.com/mono/CppSharp/blob/099fadb9a1c1b8889222e4d364c25ba5215add00/src/Generator/Generators/CSharp/CSharpSources.cs#L3606

This line always appends .dll to files with an extension, the issue is I want to load symbols from the host exe, "Server.exe", this transforms into "Server.exe.dll" which of course fails to load.

How do I override this?

maximegmd avatar Feb 11 '24 15:02 maximegmd