Skip to content

Commit 3f7e920

Browse files
committed
Also support windows platform
1 parent 0ad3bdd commit 3f7e920

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

eng/Workarounds.targets

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
<!-- Use this file to workaround issues. List the issue tracking the item to fix so we can remove the workaround when the issue is resolved. -->
22
<Project>
33
<ItemGroup>
4-
<!-- Reference base shared framework at incoming dependency flow version, not bundled sdk version. -->
4+
<!--
5+
Reference base shared framework at incoming dependency flow version, not bundled sdk version.
6+
Apply this to all projects that target the default tfm (e.g. net6.0) or a rid-based variant of it (e.g. net6.0-windows)
7+
-->
58
<FrameworkReference
69
Update="Microsoft.NETCore.App"
7-
Condition=" '$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)' AND '$(TargetLatestDotNetRuntime)' != 'false' "
10+
Condition=" (('$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)') OR $(TargetFramework.StartsWith('$(DefaultNetCoreTargetFramework)-'))) AND '$(TargetLatestDotNetRuntime)' != 'false' "
811
RuntimeFrameworkVersion="$(MicrosoftNETCoreAppRuntimeVersion)"
912
TargetingPackVersion="$(MicrosoftNETCoreAppRefVersion)" />
1013
</ItemGroup>

0 commit comments

Comments
 (0)