Skip to content

Commit c3da499

Browse files
committed
chore: Adjust validation conditions
1 parent 48dfb4a commit c3da499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
<Target Name="_UnoWasmValidateCompatibleSdk"
6565
BeforeTargets="BeforeBuild"
66-
Condition=" '$(Disable_UnoWasmValidateCompatibleSdk)' != 'true' ">
66+
Condition=" '$(TargetFramework)' != '' AND '$(Disable_UnoWasmValidateCompatibleSdk)' != 'true' ">
6767

6868
<!-- Fail the build if the TargetFramework is below 9.0 -->
6969
<Error Condition=" $([MSBuild]::VersionLowerThan( $([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')), '9.0')) "

0 commit comments

Comments
 (0)