-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Stop NGENing System.Net.Http and dependencies #27537
Stop NGENing System.Net.Http and dependencies #27537
Conversation
Could you retarget to dev15.8.x-preview3-vs-deps for the insertion? |
@@ -41,15 +41,15 @@ folder InstallDir:\MSBuild\15.0\Bin\Roslyn | |||
file source=$(OutputPath)\Vsix\CompilerExtension\Microsoft.Win32.Primitives.dll vs.file.ngenArchitecture=all | |||
file source=$(OutputPath)\Vsix\CompilerExtension\System.AppContext.dll vs.file.ngenArchitecture=all | |||
file source=$(OutputPath)\Vsix\CompilerExtension\System.Console.dll vs.file.ngenArchitecture=all | |||
file source=$(OutputPath)\Vsix\CompilerExtension\System.Diagnostics.DiagnosticSource.dll vs.file.ngenArchitecture=all | |||
file source=$(OutputPath)\Vsix\CompilerExtension\System.Diagnostics.DiagnosticSource.dll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should really put comments here why these are different.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to explicitly opt out of NGEN vs. implicitly doing so?
Related dotnet/sdk#2227 |
There is a build boss error:
Investigating why. |
Why do we still include them if we know we're not gonna use them? |
@tmat see dotnet/sdk#2227 This is what the SDK believes we are using. Previously we tried to be smart and exclude items we thought we weren't using. That lead to a series of different issues. There just doesn't appear to be a way to win here. |
This is failing NGEN in official builds, as binding redirects to dependencies are not generated correctly.
We don't actually use/load that assembly in any way, so let's stop NGENing it.
cc @jaredpar @tannergooding @jasonmalinowski