https://bugs.winehq.org/show_bug.cgi?id=54239
Bug ID: 54239 Summary: Framework64 ngen executeQueuedItems Fails to Load Runtime Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: pollyielderah@gmail.com Distribution: ---
Running `ngen executeQueuedItems` with `dotnet452` or `dotnet48` installed (possibly others too) eventually fails ngen compilation with `Failed to load the runtime. (Exception from HRESULT: 0x80131700)`.
Reproduction on clean wine 64-bit prefix:
``` winetricks -q dotnet48 wine ~/.wine/drive_c/windows/Microsoft.NET/Framework64/v4.0.30319/ngen.exe executeQueuedItems ```
Tried this with both wine 7.0.1 and 8.0-rc2 on Ubuntu 22.04 x86_64. From what I can tell, this is reproducable almost every time (except in some cases, where ngen loops and never finishes).
This is an issue, as I would like to pre-run ngen to prevent it from running these compilations later. I can attach logs from the run if they will be needed or provide any other necessary info.