Browser work
This commit is contained in:
@@ -12,17 +12,24 @@
|
||||
<ApplicationId>com.openmaui.webviewdemo</ApplicationId>
|
||||
<ApplicationVersion>1.0.0</ApplicationVersion>
|
||||
|
||||
<!-- MAUI Settings -->
|
||||
<UseMaui>true</UseMaui>
|
||||
<!-- MAUI Settings (conditional based on platform) -->
|
||||
<SingleProject>true</SingleProject>
|
||||
<EnableDefaultXamlItems>true</EnableDefaultXamlItems>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Linux Runtime -->
|
||||
<!-- Non-Linux platforms: Use official MAUI workload -->
|
||||
<PropertyGroup Condition="!$([MSBuild]::IsOSPlatform('Linux'))">
|
||||
<UseMaui>true</UseMaui>
|
||||
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst;net9.0-windows10.0.19041.0</TargetFrameworks>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Linux: Use OpenMaui -->
|
||||
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
|
||||
<RuntimeIdentifiers>linux-x64;linux-arm64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- OpenMaui Linux Platform (local development reference) -->
|
||||
<!-- OpenMaui Linux Platform (used on Linux) -->
|
||||
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
|
||||
<ProjectReference Include="../../maui-linux/OpenMaui.Controls.Linux.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -31,9 +38,12 @@
|
||||
<MauiXaml Update="**/*.xaml" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Embedded Resources (icons) -->
|
||||
<!-- Images -->
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Resources\Images\*.svg" />
|
||||
<MauiImage Include="Resources\Images\*.svg" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Import OpenMaui targets for Linux builds -->
|
||||
<Import Project="../../maui-linux/build/OpenMaui.Controls.Linux.targets" Condition="$([MSBuild]::IsOSPlatform('Linux'))" />
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user