Disable NAOT native exports for non-publish builds#1547
Disable NAOT native exports for non-publish builds#1547Sergio0694 wants to merge 1 commit intostaging/AOTfrom
Conversation
|
Yes, keep in mind this will not work for ms build t publish, only when running dotnet publish on CLI (and eventually VS publish, but not at the moment.) |
|
Mmh when it "doesn't work", does that mean that |
|
I don't think you'll ever see
|
It's a good thought, but @MichalStrehovsky is right, currently thats pretty much never false. |
|
I see. Thank you both for the additional info! I'll revert this to draft. Seems like we just can't do it for now 😅 |
|
Thank you for checking in with us! I think its a good idea. If youre ok with it not being the same in msbuild t publish, then I dont see why we wouldnt merge this once vs has the behavior, which id expect sooner rather than later. @agocke is tracking that. |
Fixes #1546
This PR disables the NAOT native exports and restores the bundled native host for non-publish builds.