inraetemplate / INRAETemplate / INRAETemplate.csproj @ master
Historique | Voir | Annoter | Télécharger (3,801 ko)
1 | fa2aa88f | ajournaux | <Project Sdk="Microsoft.NET.Sdk"> |
---|---|---|---|
2 | |||
3 | <PropertyGroup> |
||
4 | <TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks> |
||
5 | <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.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);net7.0-tizen</TargetFrameworks> --> |
||
8 | <OutputType>Exe</OutputType> |
||
9 | <RootNamespace>INRAETemplate</RootNamespace> |
||
10 | <UseMaui>true</UseMaui> |
||
11 | <SingleProject>true</SingleProject> |
||
12 | <ImplicitUsings>enable</ImplicitUsings> |
||
13 | |||
14 | <!-- Display name --> |
||
15 | <ApplicationTitle>INRAETemplate</ApplicationTitle> |
||
16 | |||
17 | <!-- App Identifier --> |
||
18 | <ApplicationId>fr.inrae.sicpa.inraetemplate</ApplicationId> |
||
19 | <ApplicationIdGuid>bc1dd680-ddc8-4aa4-9f6d-450f8f2d16b1</ApplicationIdGuid> |
||
20 | |||
21 | <!-- Versions --> |
||
22 | <ApplicationDisplayVersion>1.1</ApplicationDisplayVersion> |
||
23 | <ApplicationVersion>2</ApplicationVersion> |
||
24 | |||
25 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion> |
||
26 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion> |
||
27 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
||
28 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
||
29 | <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
||
30 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
||
31 | </PropertyGroup> |
||
32 | |||
33 | <ItemGroup> |
||
34 | <!-- App Icon --> |
||
35 | 7b67ff55 | ajournaux | <MauiIcon Include="Resources\AppIcon\ae.svg" Color="#FFFFFF" /> |
36 | fa2aa88f | ajournaux | |
37 | <!-- Splash Screen --> |
||
38 | <MauiSplashScreen Include="Resources\Images\logo_inrae.svg" Color="White" BaseSize="128,128" /> |
||
39 | |||
40 | <!-- Images --> |
||
41 | <MauiImage Include="Resources\Images\*" /> |
||
42 | <MauiImage Include="Resources\Images\AjoutSuppr\*" /> |
||
43 | <MauiImage Include="Resources\Images\Animaux\*" /> |
||
44 | <MauiImage Include="Resources\Images\Liste\*" /> |
||
45 | <MauiImage Include="Resources\Images\PeripheriqueConnexion\*" /> |
||
46 | <MauiImage Include="Resources\Images\Sanitaire\*" /> |
||
47 | <MauiImage Include="Resources\Images\Scientifique\*" /> |
||
48 | <MauiImage Include="Resources\Images\Special\*" /> |
||
49 | <MauiImage Include="Resources\Images\Utile\*" /> |
||
50 | <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> |
||
51 | |||
52 | <!-- Custom Fonts --> |
||
53 | <MauiFont Include="Resources\Fonts\*" /> |
||
54 | |||
55 | <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
||
56 | <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
||
57 | </ItemGroup> |
||
58 | |||
59 | <ItemGroup> |
||
60 | <PackageReference Include="CommunityToolkit.Maui" Version="5.0.0" /> |
||
61 | <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" /> |
||
62 | </ItemGroup> |
||
63 | |||
64 | <ItemGroup> |
||
65 | <MauiXaml Update="View\AboutView.xaml"> |
||
66 | <Generator>MSBuild:Compile</Generator> |
||
67 | </MauiXaml> |
||
68 | <MauiXaml Update="View\SettingsView.xaml"> |
||
69 | <Generator>MSBuild:Compile</Generator> |
||
70 | </MauiXaml> |
||
71 | 7b67ff55 | ajournaux | <MauiXaml Update="View\Tools\ConnectionIndicatorView.xaml"> |
72 | <Generator>MSBuild:Compile</Generator> |
||
73 | </MauiXaml> |
||
74 | fa2aa88f | ajournaux | <MauiXaml Update="View\VivantEditionView.xaml"> |
75 | <Generator>MSBuild:Compile</Generator> |
||
76 | </MauiXaml> |
||
77 | <MauiXaml Update="View\VivantView.xaml"> |
||
78 | <Generator>MSBuild:Compile</Generator> |
||
79 | </MauiXaml> |
||
80 | </ItemGroup> |
||
81 | |||
82 | </Project> |