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

Specify ngen configs for exes #11182

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rainersigwald
Copy link
Member

It looks like the Setup engine treats all ngened files as DLLs by default, so MSBuild.exe was getting ngened in vsn.exe context, which doesn't make a lot of sense. Explicitly tell the engine to ngen it in its own context.

Notes to January self: look at ngen logs in VS perf tests. Verify

  • no methodsJitted regressions
  • we are no longer ngening these files in vsn.exe context

It looks like the Setup engine treats all ngened files as DLLs by
default, so `MSBuild.exe` was getting ngened in `vsn.exe` context, which
doesn't make a lot of sense. Explicitly tell the engine to ngen it in
its own context.
@rainersigwald rainersigwald self-assigned this Dec 20, 2024
Copy link
Contributor

Hello @rainersigwald, I noticed that you’re changing an .swr file or any file under src/Package/MSBuild.VSSetup.. Please make sure to validate this change by an experimental VS insertion. This is accomplished by pushing to an exp/* branch, which requires write permissions to this repo.

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

Successfully merging this pull request may close these issues.

1 participant