dotnet-installer/src/core-sdk-tasks
Ladi Prosek 2e4e62f639
Redo "NGEN Microsoft.DotNet.MSBuildSdkResolver.dll and its dependencies" for devenv only (#19399)
Fixes: [AB#2014670](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2014670)

### Description

A change was made in 8.0.2xx to register MSBuildSdkResolver for NGEN (#17732), against both devenv.exe and MSBuild.exe. Later a bug was found in the way MSBuild.exe loads the resolver so the change was reverted in 8.0.3xx (#19112). However, because the change had a measurable positive perf effect, the revert was effectively a regression for devenv.exe and got flagged so by PerfDDRITs.

This PR is a re-do of the original change, only this time with MSBuild.exe omitted, i.e. we're NGENing the resolver only for the default architecture of devenv.exe.

### Customer Impact

Startup perf regression, about 5% more methods JITted in scenarios measured by Visual Studio PerfDDRITs.

### Regression

Yes, perf regression in VS 17.10.

### Risk 

Low
2024-04-12 09:20:24 -05:00
..
Enumerations Merge branch 'master' into official_builds 2018-12-25 19:08:40 -08:00
Utils Use _PatchNumber from arcade instead of commit count. Fixes msi generation and changes VersionPatch to VersionFeature. 2019-12-23 15:18:07 -08:00
AddMetadataIsPE.cs Crossgen layout 2018-12-03 18:15:31 -08:00
AzurePublisher.cs Change back to WindowsAzure.Storage and update the version to 9.3.3 2021-11-05 12:57:17 +01:00
BuildFPMToolPreReqs.cs [release/8.0.1xx] Use SHA256 for RPM digest (#18111) 2024-01-09 11:06:50 -08:00
CalculateTemplateVersions.cs Fix build failures on platforms without an installer file extension 2020-10-21 08:59:51 -07:00
Chmod.cs Produce deb packages 2018-11-01 23:15:59 -07:00
CollatePackageDownloads.cs Add some copyright headers 2023-07-27 12:58:00 -07:00
Constants.cs Produce deb packages 2018-11-01 23:15:59 -07:00
core-sdk-tasks.csproj [release/8.0.1xx] Update dependencies from dotnet/source-build-externals (#17266) 2023-08-31 07:58:50 -05:00
Crossgen.cs CR feedback 2021-06-13 17:47:24 -07:00
DotNetDebTool.cs Don't match warning/error text from package_tool in DotNetDebTool 2021-02-05 10:25:08 -08:00
DotNetTool.cs Produce deb packages 2018-11-01 23:15:59 -07:00
EnvironmentVariableFilter.cs remove unused env var 2021-09-12 16:24:08 -04:00
ExtractArchiveToDirectory.cs Add support for partial tarball extraction 2023-03-10 23:06:01 +00:00
GenerateDefaultRuntimeFrameworkVersion.cs Adding automatic generation of DefaultRuntimeFrameworkVersions 2020-03-26 10:01:21 -07:00
GenerateGuidFromName.cs [master] Update dependencies from dotnet/arcade (#8726) 2020-10-23 09:44:02 +02:00
GenerateMSBuildExtensionsSWR.cs Redo "NGEN Microsoft.DotNet.MSBuildSdkResolver.dll and its dependencies" for devenv only (#19399) 2024-04-12 09:20:24 -05:00
GenerateMsiVersionFromFullVersion.cs Refactor template packaging logic to reduce duplication 2020-10-20 21:32:16 -07:00
GenerateSdkRuntimeIdentifierChain.cs Add some copyright headers 2023-07-27 12:58:00 -07:00
GetDependencyInfo.cs address feedback 2022-02-05 23:56:28 +03:00
GetLinuxNativeInstallerDependencyVersions.cs Add some copyright headers 2023-07-27 12:58:00 -07:00
GetRuntimePackRids.cs Add some copyright headers 2023-07-27 12:58:00 -07:00
ReplaceFileContents.cs Stamp runtimeconfigs with M.AspNetCore.App versions 2020-09-14 10:56:23 -07:00
ReplaceFilesWithSymbolicLinks.cs Use symbolic links instead of hard links in runtime pack directories. 2023-10-18 08:37:51 +02:00
TarGzFileCreateFromDirectory.cs Add workaround for tar warning about "file changed as we read it" in Docker under Windows host 2018-11-08 08:10:33 -08:00
UpdateRuntimeConfig.cs Modify GenerateLayout to work with runtime configs that contain more than one runtime (#10901) 2021-06-17 09:36:05 -07:00
ZipFileCreateFromDirectory.cs spelling: occurred 2021-05-26 05:16:13 -04:00