Skip to content

Commit 02c0b97

Browse files
authored
Fix packaging compat target generation (#73555)
Fixes #73463. Tested locally just now.
1 parent 38b9d05 commit 02c0b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/packaging.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
<![CDATA[<Project InitialTargets="$(_NETStandardCompatErrorFileTarget)">
201201
<Target Name="$(_NETStandardCompatErrorFileTarget)"
202202
Condition="'%24(SuppressTfmSupportBuildWarnings)' == ''">
203-
<Warning Text="$(PackageId) $(PackageVersion) doesn't support %24(TargetFramework) and has not been tested with it. Consider upgrading your TargetFramework to %(NETStandardCompatError.Supported) or later. You may also set &lt;SuppressTfmSupportBuildWarnings&gt;true&lt;/SuppressTfmSupportBuildWarnings&gt; in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk." />
203+
<Warning Text="$(PackageId) $(PackageVersion) doesn't support %24(TargetFramework) and has not been tested with it. Consider upgrading your TargetFramework to %(NETStandardCompatError.Supported) or later. You may also set &lt%3BSuppressTfmSupportBuildWarnings&gt%3Btrue&lt%3B/SuppressTfmSupportBuildWarnings&gt%3B in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk." />
204204
</Target>
205205
</Project>]]>
206206
</_NETStandardCompatErrorFileContent>

0 commit comments

Comments
 (0)