EgorBo / Disasmo

VS2022 Add-in. Click on any method or class to see what .NET Core's JIT generates for them (ASM).
MIT License
638 stars 39 forks source link

Publish Mode Doesn't work in AOT Enabled Project #42

Open CaiB opened 1 year ago

CaiB commented 1 year ago

Hello,

Thanks for this awesome extension, this is something I've wanted for a long time.

One issue I've encountered is the following:

Disabling AOT by changing this option to false the ProperyGroup of my csproj:

<PublishAot>false</PublishAot>

Fixes the issue, and now Disasmo works in "dotnet publish" mode, however I then need to re-enable this option for other debugging and tests. Is there any way to get Disasmo working in an AOT project?

Thanks!