Skip to content

Commit 9bd96fb

Browse files
authored
Do not NGEN .NET assemblies (#9769)
1 parent 254a51d commit 9bd96fb

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

setup/ProjectSystemSetup/ProjectSystemSetup.csproj

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,16 @@
5555
</Compile>
5656
</ItemGroup>
5757

58-
<!-- Excludes the localized .xaml files from the VSIX which are added from the GetCopyToOutputDirectoryItems output group. Only the localized .dlls are needed in the VSIX. -->
59-
<!-- For additional info, see: https://github.com/dotnet/project-system/issues/6612 -->
60-
<Target Name="ExcludeLocalizedXamlFilesFromVSIX" AfterTargets="GetVsixSourceItems">
58+
<Target Name="PostProcessVsixSourceItems" AfterTargets="GetVsixSourceItems">
6159
<ItemGroup>
60+
<!-- Excludes the localized .xaml files from the VSIX which are added from the GetCopyToOutputDirectoryItems output group. Only the localized .dlls are needed in the VSIX. -->
61+
<!-- For additional info, see: https://github.com/dotnet/project-system/issues/6612 -->
6262
<VSIXSourceItem Remove="$(ArtifactsObjDir)$(_ManagedProjectName)\$(TargetFramework)\$(_ManagedProjectName).xlf\**\*.xaml" />
63+
64+
<VSIXSourceItem Update="@(VSIXSourceItem)"
65+
Condition="'%(VSIXSourceItem.FileName)' == 'Microsoft.Extensions.DotNetDeltaApplier' or '%(VSIXSourceItem.FileName)' == 'Microsoft.AspNetCore.Watch.BrowserRefresh'">
66+
<Ngen>false</Ngen>
67+
</VSIXSourceItem>
6368
</ItemGroup>
6469
</Target>
6570

0 commit comments

Comments
 (0)