Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 858e443

Browse files
committed
Don't try to CrossGen .NET Framework support DLLs
1 parent c19ff8c commit 858e443

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/redist/redist.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,12 @@
194194
<ItemGroup>
195195
<!-- Removing Full CLR built TestHost assemblies from getting Crossgen as it is throwing error -->
196196
<SdkFiles Include="$(PublishDir)/**/*" Exclude="$(PublishDir)/TestHost*/**/*;$(PublishDir)/Sdks/**/*" />
197+
198+
<!-- Don't try to CrossGen .NET Framework support assemblies for .NET Standard -->
199+
<SdkFiles Remove="$(PublishDir)/Microsoft.NET.Build.Extensions\net*\**\*" />
200+
201+
<!-- Don't try to CrossGen tasks and supporting DLLs compiled for .NET Framework -->
202+
<SdkFiles Remove="$(PublishDir)/Microsoft.NET.Build.Extensions\tools\net*\**\*" />
197203
</ItemGroup>
198204

199205
<AddMetadataIsPE Items="@(SdkFiles)">

0 commit comments

Comments
 (0)