Skip to content

Commit

Permalink
Update KnownRuntimePack as part of updating KnownFrameworkReference (d…
Browse files Browse the repository at this point in the history
…otnet#39965)

* Update KnownRuntimePack as part of updating KnownFrameworkReference

* Also update KnownAppHostPackVersion

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

Co-authored-by: Doug Bunting <[email protected]>
  • Loading branch information
pranavkm and dougbu authored Feb 3, 2022
1 parent 092d662 commit a779227
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eng/tools/GenerateFiles/Directory.Build.targets.in
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@
'$(TargetLatestDotNetRuntime)' != 'false' ">${MicrosoftNETCoreAppRuntimeVersion}</DefaultRuntimeFrameworkVersion>
</KnownFrameworkReference>

<KnownAppHostPack Update="Microsoft.NETCore.App">
<AppHostPackVersion
Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</AppHostPackVersion>
</KnownAppHostPack>

<KnownRuntimePack Update="Microsoft.NETCore.App">
<LatestRuntimeFrameworkVersion
Condition=" '%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' ">${MicrosoftNETCoreAppRuntimeVersion}</LatestRuntimeFrameworkVersion>
</KnownRuntimePack>

<!-- Use the just-built ASP.NET Core shared framework if available except when building product code in servicing. -->
<KnownFrameworkReference Update="Microsoft.AspNetCore.App" Condition=" $(UpdateAspNetCoreKnownFramework) ">
<LatestRuntimeFrameworkVersion
Expand Down

0 comments on commit a779227

Please sign in to comment.