Skip to content

Commit 841e438

Browse files
committed
Special case current .NET SDK version
- use incoming runtime even though this is a servicing build
1 parent 634dd10 commit 841e438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
e.g. tool projects (again, property not set) use latest.
5454
On the other hand, $(TargetLatestDotNetRuntime) is specific to this repo and controls only the update below.
5555
-->
56-
<DefaultRuntimeFrameworkVersion Condition=" '$(IsServicingBuild)' != 'true' AND
56+
<DefaultRuntimeFrameworkVersion Condition=" ('$(IsServicingBuild)' != 'true' OR '$(NETCoreSdkVersion)' == '7.0.100-rtm.22478.12') AND
5757
'%(TargetFramework)' == '${DefaultNetCoreTargetFramework}' AND
5858
'$(TargetLatestDotNetRuntime)' != 'false' ">${MicrosoftNETCoreAppRuntimeVersion}</DefaultRuntimeFrameworkVersion>
5959
</KnownFrameworkReference>

0 commit comments

Comments
 (0)