Skip to content

Commit 905e385

Browse files
jkoritzinskycaptainsafia
authored andcommitted
Use a live crossgen2 always (#59447)
1 parent a70f658 commit 905e385

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/tools/GenerateFiles/Directory.Build.targets.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@
105105
Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftAspNetCoreAppRuntimeVersion}</AspNetCorePackVersion>
106106
</KnownAspNetCorePack>
107107

108-
<KnownCrossgen2Pack Update="Microsoft.NETCore.App.Crossgen2" Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">
108+
<KnownCrossgen2Pack Update="Microsoft.NETCore.App.Crossgen2">
109109
<Crossgen2PackVersion
110110
Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</Crossgen2PackVersion>
111-
<Crossgen2RuntimeIdentifiers>$(TargetRuntimeIdentifier)</Crossgen2RuntimeIdentifiers>
111+
<Crossgen2RuntimeIdentifiers Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">$(TargetRuntimeIdentifier)</Crossgen2RuntimeIdentifiers>
112112
</KnownCrossgen2Pack>
113113

114114
<KnownILLinkPack Update="Microsoft.NET.ILLink.Tasks" Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">

0 commit comments

Comments
 (0)