Advertisement
Guest User

Untitled

a guest
Nov 28th, 2023
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.07 KB | None | 0 0
  1. <Project Sdk="Microsoft.NET.Sdk">
  2.  
  3.     <PropertyGroup>
  4.         <TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
  5.         <!-- <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks> -->
  6.         <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
  7.         <!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
  8.  
  9.         <!-- Note for MacCatalyst:
  10.         The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
  11.         When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifer>.
  12.         The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated;
  13.         either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
  14.         <!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
  15.  
  16.         <OutputType>Exe</OutputType>
  17.         <RootNamespace>QuickDraw.Mobile</RootNamespace>
  18.         <UseMaui>true</UseMaui>
  19.         <SingleProject>true</SingleProject>
  20.         <ImplicitUsings>enable</ImplicitUsings>
  21.         <Nullable>enable</Nullable>
  22.  
  23.         <!-- Display name -->
  24.         <ApplicationTitle>Quick Draw</ApplicationTitle>
  25.  
  26.         <!-- App Identifier -->
  27.         <ApplicationId>dev.acesoftware.quickdraw</ApplicationId>
  28.  
  29.         <!-- Versions -->
  30.         <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
  31.         <ApplicationVersion>1</ApplicationVersion>
  32.  
  33.         <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
  34.         <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
  35.         <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
  36.         <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
  37.         <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
  38.         <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
  39.     </PropertyGroup>
  40.  
  41.     <PropertyGroup Condition="'$(TargetFramework)'=='net8.0-ios'">
  42.       <CodesignKey>Apple Development: Created via API (C4N97Q5J6K)</CodesignKey>
  43.       <CodesignProvision>VS: WildCard Development</CodesignProvision>
  44.     </PropertyGroup>
  45.  
  46.     <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-ios|AnyCPU'">
  47.       <CodesignResourceRules></CodesignResourceRules>
  48.     </PropertyGroup>
  49.  
  50.     <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-ios|AnyCPU'">
  51.       <CodesignResourceRules></CodesignResourceRules>
  52.     </PropertyGroup>
  53.    
  54.     <ItemGroup>
  55.         <!-- App Icon -->
  56.         <MauiIcon Update="Resources\AppIcon\*" Color="#FF0000" />
  57.        
  58.         <!-- Splash Screen -->
  59.         <MauiSplashScreen Include="Resources\Splash\splash.png" Color="#161616" BaseSize="500,500" />
  60.  
  61.         <!-- Images -->
  62.         <MauiImage Include="Resources\Images\*" />
  63.  
  64.         <!-- Custom Fonts -->
  65.         <MauiFont Include="Resources\Fonts\*" />
  66.  
  67.         <!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
  68.         <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
  69.     </ItemGroup>
  70.  
  71.     <ItemGroup>
  72.         <MauiImage Update="Resources\Images\pencil.png" BaseSize="20,20" />
  73.         <MauiImage Update="Resources\Images\home.png" BaseSize="20,20" />
  74.         <MauiImage Update="Resources\Images\friends.png" BaseSize="20,20" />
  75.         <MauiImage Update="Resources\Images\profile.png" BaseSize="20,20" />
  76.  
  77.     </ItemGroup>
  78.  
  79.     <!--<ItemGroup>
  80.       <None Remove="Platforms\Android\Resources\xml\network_security_config.xml" />
  81.       <None Remove="Resources\AppIcon\appicon.svg" />
  82.       <None Remove="Resources\Fonts\SourceSans3.ttf" />
  83.       <None Remove="Resources\Fonts\user (1).png" />
  84.       <None Remove="Resources\Images\avatar.png" />
  85.       <None Remove="Resources\Images\eraser.png" />
  86.       <None Remove="Resources\Images\friends.png" />
  87.       <None Remove="Resources\Images\heart_filled.png" />
  88.       <None Remove="Resources\Images\heart_outline.png" />
  89.       <None Remove="Resources\Images\home.png" />
  90.       <None Remove="Resources\Images\logo_trans.png" />
  91.       <None Remove="Resources\Images\logo_white_bg.png" />
  92.       <None Remove="Resources\Images\logo_with_bg.png" />
  93.       <None Remove="Resources\Images\palette.png" />
  94.       <None Remove="Resources\Images\pencil.png" />
  95.       <None Remove="Resources\Images\profile.png" />
  96.       <None Remove="Resources\Images\quickdraw_lost_cover.png" />
  97.       <None Remove="Resources\Images\redo.png" />
  98.       <None Remove="Resources\Images\send.png" />
  99.       <None Remove="Resources\Images\stroke_size.png" />
  100.       <None Remove="Resources\Images\undo.png" />
  101.       <None Remove="Resources\Images\wild_west_background.png" />
  102.       <None Remove="Resources\Splash\splash.png" />
  103.     </ItemGroup>-->
  104.  
  105.     <ItemGroup>
  106.       <MauiIcon Include="Resources\AppIcon\appicon.svg" />
  107.     </ItemGroup>
  108.  
  109.     <ItemGroup>
  110.         <PackageReference Include="ColorPicker.Maui" Version="1.0.0" />
  111.         <PackageReference Include="CommunityToolkit.Maui" Version="7.0.0" />
  112.         <PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
  113.         <PackageReference Include="FirebaseAuthentication.net" Version="4.1.0" />
  114.         <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
  115.         <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
  116.         <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
  117.         <PackageReference Include="SkiaSharp" Version="2.88.6" />
  118.         <PackageReference Include="SkiaSharp.Views.Maui.Controls" Version="2.88.6" />
  119.         <PackageReference Include="SkiaSharp.Views.Maui.Core" Version="2.88.6" />
  120.     </ItemGroup>
  121.  
  122.     <ItemGroup>
  123.       <ProjectReference Include="..\QuickDraw.Api\QuickDraw.Api.csproj" />
  124.     </ItemGroup>
  125.  
  126.     <ItemGroup>
  127.       <Compile Update="InitializerShell.xaml.cs">
  128.         <DependentUpon>InitializerShell.xaml</DependentUpon>
  129.       </Compile>
  130.       <Compile Update="Initializer.xaml.cs">
  131.         <DependentUpon>Initializer.xaml</DependentUpon>
  132.       </Compile>
  133.       <Compile Update="Views\Auth\RegisterPage.xaml.cs">
  134.         <DependentUpon>RegisterPage.xaml</DependentUpon>
  135.       </Compile>
  136.     </ItemGroup>
  137.  
  138.     <ItemGroup>
  139.       <MauiXaml Update="InitializerShell.xaml">
  140.         <Generator>MSBuild:Compile</Generator>
  141.       </MauiXaml>
  142.       <MauiXaml Update="Initializer.xaml">
  143.         <Generator>MSBuild:Compile</Generator>
  144.       </MauiXaml>
  145.       <MauiXaml Update="Views\Auth\ForgotPasswordPage.xaml">
  146.         <Generator>MSBuild:Compile</Generator>
  147.       </MauiXaml>
  148.       <MauiXaml Update="Views\Auth\LoginPage.xaml">
  149.         <Generator>MSBuild:Compile</Generator>
  150.       </MauiXaml>
  151.       <MauiXaml Update="Views\Auth\RegisterPage.xaml">
  152.         <Generator>MSBuild:Compile</Generator>
  153.       </MauiXaml>
  154.       <MauiXaml Update="Views\Auth\WelcomePage.xaml">
  155.         <Generator>MSBuild:Compile</Generator>
  156.       </MauiXaml>
  157.       <MauiXaml Update="Views\DrawingViews\ColorPickerPopup.xaml">
  158.         <Generator>MSBuild:Compile</Generator>
  159.       </MauiXaml>
  160.       <MauiXaml Update="Views\DrawingViews\ThicknessPopup.xaml">
  161.         <Generator>MSBuild:Compile</Generator>
  162.       </MauiXaml>
  163.       <MauiXaml Update="Views\DrawPage.xaml">
  164.         <Generator>MSBuild:Compile</Generator>
  165.       </MauiXaml>
  166.       <MauiXaml Update="Views\FeedPage.xaml">
  167.         <Generator>MSBuild:Compile</Generator>
  168.       </MauiXaml>
  169.       <MauiXaml Update="Views\FriendsPage.xaml">
  170.         <Generator>MSBuild:Compile</Generator>
  171.       </MauiXaml>
  172.       <MauiXaml Update="Views\ProfilePage.xaml">
  173.         <Generator>MSBuild:Compile</Generator>
  174.       </MauiXaml>
  175.       <MauiXaml Update="Views\Shared\UserProfile.xaml">
  176.         <Generator>MSBuild:Compile</Generator>
  177.       </MauiXaml>
  178.       <MauiXaml Update="Views\Shared\ViewUserPage.xaml">
  179.         <Generator>MSBuild:Compile</Generator>
  180.       </MauiXaml>
  181.     </ItemGroup>
  182.  
  183. </Project>
  184.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement