Skip to content

Commit

Permalink
chore: Adjust validation conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Oct 17, 2024
1 parent 48dfb4a commit c3da499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.Wasm.Bootstrap/build/Uno.Wasm.Bootstrap.targets
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

<Target Name="_UnoWasmValidateCompatibleSdk"
BeforeTargets="BeforeBuild"
Condition=" '$(Disable_UnoWasmValidateCompatibleSdk)' != 'true' ">
Condition=" '$(TargetFramework)' != '' AND '$(Disable_UnoWasmValidateCompatibleSdk)' != 'true' ">

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

0 comments on commit c3da499

Please sign in to comment.