Skip to content

Commit 53a0768

Browse files
authored
Use incoming ILLinkPackVersion (#55469)
* Use incoming ILLinkPackVersion * Update Directory.Build.targets.in
1 parent a2b2ebd commit 53a0768

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@
101101
<Crossgen2RuntimeIdentifiers>$(TargetRuntimeIdentifier)</Crossgen2RuntimeIdentifiers>
102102
</KnownCrossgen2Pack>
103103

104+
<KnownILLinkPack Update="Microsoft.NET.ILLink.Tasks" Condition=" '$(DotNetBuildSourceOnly)' == 'true' ">
105+
<ILLinkPackVersion
106+
Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</ILLinkPackVersion>
107+
</KnownILLinkPack>
108+
104109
<!-- Use the just-built ASP.NET Core shared framework if available except when building product code in servicing. -->
105110
<KnownFrameworkReference Update="Microsoft.AspNetCore.App" Condition=" $(UpdateAspNetCoreKnownFramework) ">
106111
<LatestRuntimeFrameworkVersion

0 commit comments

Comments
 (0)