<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks> <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net6.0-windows10.0.19041.0</TargetFrameworks> <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET --> <!-- <TargetFrameworks>$(TargetFrameworks);net6.0-tizen</TargetFrameworks> --> <OutputType>Exe</OutputType> <RootNamespace>IHM</RootNamespace> <UseMaui>true</UseMaui> <SingleProject>true</SingleProject> <ImplicitUsings>enable</ImplicitUsings> <!-- Display name --> <ApplicationTitle>Cons'Eco</ApplicationTitle> <!-- App Identifier --> <ApplicationId>com.companyname.ihm</ApplicationId> <ApplicationIdGuid>33DC848D-F9BE-4608-823D-9556390F7E87</ApplicationIdGuid> <!-- Versions --> <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> <ApplicationVersion>1</ApplicationVersion> <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion> <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> </PropertyGroup> <ItemGroup> <!-- App Icon --> <MauiIcon Include="Resources\AppIcon\logo.svg" ForegroundFile="Resources\AppIcon\logo.svg" Color="#512BD4" BaseSize="100,100" /> <MauiImage Include="Resources\Images\AjoutBanques\add_new_banks.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> <MauiImage Include="Resources\Images\AjoutBanques\import_from_file.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> <MauiImage Include="Resources\Images\DashBoard\account_banks.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> <MauiImage Include="Resources\Images\GestionBanques\add_banks.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> <MauiImage Include="Resources\Images\GestionBanques\reload_banks.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> <MauiImage Include="Resources\Images\NavBar\dollar_black.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> <MauiImage Include="Resources\Images\NavBar\settings_black.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> <Resource Include="Resources\Images\NavBar\home_black.png" /> <!-- Splash Screen --> <MauiSplashScreen Include="Resources\Splash\logo.svg" Color="#3C425A" BaseSize="128,128" /> <!-- Images --> <MauiImage Include="Resources\Images\*" /> <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> <MauiImage Update="Resources\Images\logo_sans_fond.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> <MauiImage Update="Resources\Images\logo_sans_fond_black.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> <MauiImage Update="Resources\Images\refresh.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> <!-- Custom Fonts --> <MauiFont Include="Resources\Fonts\*" /> <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> </ItemGroup> <ItemGroup> <None Remove="Resources\Images\AjoutBanques\add_new_banks.png" /> <None Remove="Resources\Images\AjoutBanques\import_from_file.png" /> <None Remove="Resources\Images\DashBoard\account_banks.png" /> <None Remove="Resources\Images\GestionBanques\add_banks.png" /> <None Remove="Resources\Images\GestionBanques\reload_banks.png" /> <None Remove="Resources\Images\refresh.png" /> </ItemGroup> <ItemGroup> <MauiImage Include="Resources\Images\NavBar\planification_black.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> </ItemGroup> <ItemGroup> <MauiImage Include="Resources\Images\NavBar\home_black.png"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </MauiImage> </ItemGroup> <ItemGroup> <ProjectReference Include="..\Data\Data.csproj" /> <ProjectReference Include="..\Modele\Model.csproj" /> </ItemGroup> <ItemGroup> <MauiXaml Update="ChangePassword.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Composant\VC_Operation_Dashboard.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="DashBoard.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Desktop\ChangePassword.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Desktop\CV_AddPlanification.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Desktop\CV_Planification.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Desktop\DashBoard.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Desktop\Echeancier.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Desktop\ForgetPassword.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Desktop\Inscription.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Desktop\Compte.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Desktop\Operations.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="ForgetPassword.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="GestionBanque.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="NewPage1.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Operations.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Planification.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Settings.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> <MauiXaml Update="Inscription.xaml"> <Generator>MSBuild:Compile</Generator> </MauiXaml> </ItemGroup> </Project>