3F / DllExport

.NET DllExport with .NET Core support (aka 3F/DllExport aka DllExport.bat)
MIT License
960 stars 133 forks source link

Can not build ILAsm contain with declared DllImport (NET6) #211

Open Zeki-Gursoy opened 2 years ago

Zeki-Gursoy commented 2 years ago

Error message:

"RunIlAsm: Something went wrong. We can't find '2' exports from PE32/PE32+ module **** net.r_eg.DllExport.targets 1

3F commented 2 years ago

Hello,

The errors (+ #210) means that the expected entries in the export directory in your final module were not found for some reason. This behavior is controlled by "PE Check" options, after https://github.com/3F/DllExport/issues/59#issuecomment-348702199

As a reason, I think this is related https://github.com/3F/DllExport/issues/209#issuecomment-1126045679

On 16.06.2022 13:06, Zeki wrote:

Error message:

"RunIlAsm: Something went wrong. We can't find '2' exports from PE32/PE32+ module **** net.r_eg.DllExport.targets 1

3F commented 2 years ago

oops, "PE Check" impl was a little earlier than the mentioned src, i.e. https://github.com/3F/DllExport/issues/55#issuecomment-339989014

On 01.07.2022 14:42, Denis Kuzmin wrote:

Hello,

The errors (+ #210) means that the expected entries in the export directory in your final module were not found for some reason. This behavior is controlled by "PE Check" options, after https://github.com/3F/DllExport/issues/59#issuecomment-348702199

As a reason, I think this is related https://github.com/3F/DllExport/issues/209#issuecomment-1126045679

On 16.06.2022 13:06, Zeki wrote:

Error message:

"RunIlAsm: Something went wrong. We can't find '2' exports from PE32/PE32+ module **** net.r_eg.DllExport.targets 1