You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: eng/Workarounds.targets
+5-2
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,13 @@
1
1
<!-- 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. -->
2
2
<Project>
3
3
<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
+
-->
5
8
<FrameworkReference
6
9
Update="Microsoft.NETCore.App"
7
-
Condition=" '$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)' AND '$(TargetLatestDotNetRuntime)' != 'false' "
10
+
Condition="(('$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)') OR $(TargetFramework.StartsWith('$(DefaultNetCoreTargetFramework)-'))) AND '$(TargetLatestDotNetRuntime)' != 'false' "
0 commit comments