(cherry picked from commit b582eea82c)
This commit is contained in:
Jérôme Laban 2024-09-06 16:43:45 -04:00 коммит произвёл Mergify
Родитель a860649f6c
Коммит 1af809d41a
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -73,7 +73,7 @@
<PropertyGroup Condition="
'$(TargetFrameworkIdentifier)'=='.NETCoreApp'
and $([MSBuild]::VersionGreaterThanOrEquals($(NETCoreSdkVersion), '9.0'))">
AND $([MSBuild]::VersionGreaterThanOrEquals($(NETCoreSdkVersion), '9.0'))">
<!-- .NET 9 SDK Compatibility -->
<EnableDefaultCompressedItems>false</EnableDefaultCompressedItems>
@ -199,8 +199,8 @@
Condition="'%(Extension)' == '.dll'" />
</ItemGroup>
<Warning
Condition="$([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '9.0'))"
<Error
Condition="$([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '9.0')) AND '$(UnoDisableNet9Validation)' != 'true' "
Text="This version of the Uno.Wasm.Bootstrap package does not support the net9.0 target framework and later, starting from the .NET 9.0 SDK Preview 7. The net8.0 TargetFramework is supported." />
<PropertyGroup>