Skip to content

Commit d4e0f7a

Browse files
authored
Merge pull request #216 from unoplatform/pj/uno-sdk-wasm-skia
Add new values to define the runtime project
2 parents eab563e + a553366 commit d4e0f7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/.nuspec/Uno.Resizetizer.targets

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@
9393

9494
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
9595
<_UnoResizetizerIsNetCore>True</_UnoResizetizerIsNetCore>
96-
<_UnoResizetizerIsSkiaApp Condition="'$(UnoRuntimeIdentifier)' == 'Skia'">True</_UnoResizetizerIsSkiaApp>
96+
<_UnoResizetizerIsSkiaApp Condition="'$(UnoRuntimeIdentifier)' == 'Skia' Or $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'skia'">True</_UnoResizetizerIsSkiaApp>
9797
<_UnoResizetizerIsAndroidApp Condition=" '$(_UnoResizetizerPlatformIsAndroid)' == 'True' And '$(AndroidApplication)' == 'True'">True</_UnoResizetizerIsAndroidApp>
9898
<_UnoResizetizerIsiOSApp Condition="( '$(_UnoResizetizerPlatformIsiOS)' == 'True' OR '$(_UnoResizetizerPlatformIsMacCatalyst)' == 'True' ) And ('$(OutputType)' == 'Exe' Or '$(IsAppExtension)' == 'True')">True</_UnoResizetizerIsiOSApp>
9999
<_UnoResizetizerIsWindowsAppSdk Condition="('$(ProjectReunionWinUI)'=='True' Or '$(WindowsAppSDKWinUI)'=='true' or '$(UseWinUITools)'=='true') And '$(_UnoResizetizerPlatformIsWindows)' == 'True' And ('$(OutputType)' == 'WinExe' Or '$(OutputType)' == 'Exe')">True</_UnoResizetizerIsWindowsAppSdk>
100-
<_UnoResizetizerIsWasmApp Condition="'$(UnoRuntimeIdentifier)' == 'WebAssembly'">True</_UnoResizetizerIsWasmApp>
100+
<_UnoResizetizerIsWasmApp Condition="'$(UnoRuntimeIdentifier)' == 'WebAssembly' Or $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'browser'">True</_UnoResizetizerIsWasmApp>
101101
</PropertyGroup>
102102

103103
<Import Project="Uno.Resizetizer.android.targets" Condition="'$(_UnoResizetizerIsAndroidApp)' == 'True'"/>

0 commit comments

Comments
 (0)