Skip to content

Commit b004967

Browse files
authored
Update NgenPriority to reduce number of priority 1 assemblies (#80411)
Changed two assemblies to be priority 2 to lower the duration of ngen for priority 1 assemblies. We are trying to improve how we ngen assemblies during installation to improve VS's startup, and as part of this are reducing the number of assemblies that have a priority of 1. JIT time during VS startup was used to determine the priorities, the following two assemblies are being changed to be priority 2: - msbuild\current\bin\roslyn\microsoft.codeanalysis.csharp.dll - msbuild\current\bin\roslyn\microsoft.codeanalysis.dll
1 parent 6523b74 commit b004967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NuGet/Microsoft.Net.Compilers.Toolset/DesktopCompilerArtifacts.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
<ItemGroup>
2929

3030
<!-- The Roslyn built binaries must be taken from these locations because this is the location where signing occurs -->
31-
<DesktopCompilerArtifact Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis\$(Configuration)\netstandard2.0\Microsoft.CodeAnalysis.dll" NgenArchitecture="all" NgenApplication="VBCSCompiler.exe" NgenPriority="1"/>
32-
<DesktopCompilerArtifact Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.CSharp\$(Configuration)\netstandard2.0\Microsoft.CodeAnalysis.CSharp.dll" NgenArchitecture="all" NgenApplication="VBCSCompiler.exe" NgenPriority="1"/>
31+
<DesktopCompilerArtifact Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis\$(Configuration)\netstandard2.0\Microsoft.CodeAnalysis.dll" NgenArchitecture="all" NgenApplication="VBCSCompiler.exe" NgenPriority="2"/>
32+
<DesktopCompilerArtifact Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.CSharp\$(Configuration)\netstandard2.0\Microsoft.CodeAnalysis.CSharp.dll" NgenArchitecture="all" NgenApplication="VBCSCompiler.exe" NgenPriority="2"/>
3333
<DesktopCompilerArtifact Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.Scripting\$(Configuration)\netstandard2.0\Microsoft.CodeAnalysis.Scripting.dll" NgenArchitecture="all" NgenApplication="csi.exe"/>
3434
<DesktopCompilerArtifact Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.CSharp.Scripting\$(Configuration)\netstandard2.0\Microsoft.CodeAnalysis.CSharp.Scripting.dll" NgenArchitecture="all" NgenApplication="csi.exe"/>
3535
<DesktopCompilerArtifact Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.VisualBasic\$(Configuration)\netstandard2.0\Microsoft.CodeAnalysis.VisualBasic.dll" NgenArchitecture="all" NgenApplication="VBCSCompiler.exe"/>

0 commit comments

Comments
 (0)