Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managed DLLs are not ngen'd #20

Open
WamWooWam opened this issue Apr 14, 2024 · 0 comments
Open

Managed DLLs are not ngen'd #20

WamWooWam opened this issue Apr 14, 2024 · 0 comments

Comments

@WamWooWam
Copy link
Contributor

.NET includes ngen, the Native Image Generator, it's run during the install process and compiles much of the MSIL bytecode into x86 assembly code ahead of time, however this process isn't done during the dotnet9x setup, and after setup appears to fail in an odd way.

When running ngen install "mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" as the original setup would, it prints a lot of (expected) warnings to the console, compilation appears to complete? However installation to the assembly cache fails with E_INVALIDARG, this appears to happen for every assembly:

Examples on Windows 98 (where this should definitely work):
image
image

ngen, while not needed does drastically improve startup performance where available and would be especially helpful on older, slower machines running Windows 9x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant