Statistiques
| Branche: | Révision:

root / GES_PAC / GES_PAC.csproj @ 0a91fd76

Historique | Voir | Annoter | Télécharger (4,12 ko)

1
<Project Sdk="Microsoft.NET.Sdk">
2

    
3
	<PropertyGroup>
4
		<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
5
		<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.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);net9.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 <RuntimeIdentifier>.
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>GES_PAC</RootNamespace>
18
		<UseMaui>true</UseMaui>
19
		<SingleProject>true</SingleProject>
20
		<ImplicitUsings>enable</ImplicitUsings>
21
		<Nullable>enable</Nullable>
22

    
23
		<!-- Display name -->
24
		<ApplicationTitle>GES_PAC</ApplicationTitle>
25

    
26
		<!-- App Identifier -->
27
		<ApplicationId>com.companyname.proj</ApplicationId>
28

    
29
		<!-- Versions -->
30
		<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
31
		<ApplicationVersion>1</ApplicationVersion>
32

    
33
		<!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged -->
34
		<WindowsPackageType>None</WindowsPackageType>
35

    
36
		<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion>
37
		<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion>
38
		<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
39
		<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
40
		<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
41
		<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
42
	</PropertyGroup>
43

    
44
	<ItemGroup>
45
		<!-- App Icon -->
46
		<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
47

    
48
		<!-- Splash Screen -->
49
		<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
50

    
51
		<!-- Images -->
52
		<MauiImage Include="Resources\Images\*" />
53
		<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" />
54

    
55
		<!-- Custom Fonts -->
56
		<MauiFont Include="Resources\Fonts\*" />
57

    
58
		<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
59
		<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
60
	</ItemGroup>
61

    
62
	<ItemGroup>
63
		<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
64
		<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
65
	</ItemGroup>
66

    
67
	<ItemGroup>
68
	  <Compile Update="View\CreateDayView.xaml.cs">
69
	    <DependentUpon>CreateDayView.xaml</DependentUpon>
70
	  </Compile>
71
	  <Compile Update="View\CreatePlaceView.xaml.cs">
72
	    <DependentUpon>CreatePlaceView.xaml</DependentUpon>
73
	  </Compile>
74
	</ItemGroup>
75

    
76
	<ItemGroup>
77
	  <MauiXaml Update="View\CreateDayView.xaml">
78
	    <Generator>MSBuild:Compile</Generator>
79
	  </MauiXaml>
80
	  <MauiXaml Update="View\CreatePersonView.xaml">
81
	    <Generator>MSBuild:Compile</Generator>
82
	  </MauiXaml>
83
	  <MauiXaml Update="View\MainView.xaml">
84
	    <Generator>MSBuild:Compile</Generator>
85
	  </MauiXaml>
86
	  <MauiXaml Update="View\CreatePlaceView.xaml">
87
	    <Generator>MSBuild:Compile</Generator>
88
	  </MauiXaml>
89
	</ItemGroup>
90

    
91
</Project>