Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Godbe <wigodbe@microsoft.com>2022-02-03 21:50:36 +0300
committerWill Godbe <wigodbe@microsoft.com>2022-02-03 21:51:45 +0300
commit1581dc6e6817e59212d41dbfe6d1c03a2870626d (patch)
treee9b96a86845987c56572acdf353998342c92de3a
parentcb5ed1b3911b549ad7037bef58b5b51cf089c165 (diff)
Test workaroundtest
-rw-r--r--eng/tools/GenerateFiles/Directory.Build.targets.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/eng/tools/GenerateFiles/Directory.Build.targets.in b/eng/tools/GenerateFiles/Directory.Build.targets.in
index cf936a9bae..4ddd7aa436 100644
--- a/eng/tools/GenerateFiles/Directory.Build.targets.in
+++ b/eng/tools/GenerateFiles/Directory.Build.targets.in
@@ -58,6 +58,11 @@
'$(TargetLatestDotNetRuntime)' != 'false' ">${MicrosoftNETCoreAppRuntimeVersion}</DefaultRuntimeFrameworkVersion>
</KnownFrameworkReference>
+ <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