Skip to content

Commit f06d1db

Browse files
author
Alex Delepine
committed
Adjust ngen priorities
1 parent 909f4d7 commit f06d1db

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Razor/src/Microsoft.VisualStudio.RazorExtension/Microsoft.VisualStudio.RazorExtension.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
<!-- Don't trim this list. It is used to feed into the binding redirects -->
166166
<ProjectReference Include="$(SharedSourceRoot)\Microsoft.AspNetCore.Razor.Utilities.Shared\Microsoft.AspNetCore.Razor.Utilities.Shared.csproj">
167167
<AdditionalProperties>TargetFramework=$(NetFxVS)</AdditionalProperties>
168+
<NgenPriority>2</NgenPriority>
168169
</ProjectReference>
169170
<ProjectReference Include="..\Microsoft.AspNetCore.Razor.ExternalAccess.LegacyEditor\Microsoft.AspNetCore.Razor.ExternalAccess.LegacyEditor.csproj" />
170171

@@ -194,7 +195,9 @@
194195
<Ngen>false</Ngen>
195196
</ProjectReference>
196197
<ProjectReference Include="..\Microsoft.VisualStudio.LanguageServer.ContainedLanguage\Microsoft.VisualStudio.LanguageServer.ContainedLanguage.csproj" />
197-
<ProjectReference Include="..\Microsoft.VisualStudio.LanguageServices.Razor\Microsoft.VisualStudio.LanguageServices.Razor.csproj" />
198+
<ProjectReference Include="..\Microsoft.VisualStudio.LanguageServices.Razor\Microsoft.VisualStudio.LanguageServices.Razor.csproj" >
199+
<NgenPriority>1</NgenPriority>
200+
</ProjectReference>
198201
<ProjectReference Include="..\Microsoft.VisualStudio.LegacyEditor.Razor\Microsoft.VisualStudio.LegacyEditor.Razor.csproj" />
199202
<ProjectReference Include="..\..\..\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Microsoft.CodeAnalysis.Razor.Compiler.csproj">
200203
<Name>Microsoft.CodeAnalysis.Razor.Compiler</Name>
@@ -226,7 +229,7 @@
226229
<Ngen>$(Ngen)</Ngen>
227230
<NgenApplication>$(NgenApplication)</NgenApplication>
228231
<NgenArchitecture>$(NgenArchitecture)</NgenArchitecture>
229-
<NgenPriority>$(NgenPriority)</NgenPriority>
232+
<NgenPriority>1</NgenPriority>
230233
</VSIXSourceItem>
231234
</ItemGroup>
232235

0 commit comments

Comments
 (0)