Statistiques
| Branche: | Révision:

root / GES_PAC / GES_PAC.csproj @ 6f451cc1

Historique | Voir | Annoter | Télécharger (6,316 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

    
10
		<!-- Note for MacCatalyst:
11
		The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
12
		When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>.
13
		The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated;
14
		either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
15
		<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
16

    
17
		<OutputType>Exe</OutputType>
18
		<RootNamespace>GES_PAC</RootNamespace>
19
		<UseMaui>true</UseMaui>
20
		<SingleProject>true</SingleProject>
21
		<ImplicitUsings>enable</ImplicitUsings>
22
		<Nullable>enable</Nullable>
23
		<GenerateSatelliteAssemblies>false</GenerateSatelliteAssemblies>
24

    
25
		<!-- Display name -->
26
		<ApplicationTitle>GES_PAC</ApplicationTitle>
27

    
28
		<!-- App Identifier -->
29
		<ApplicationId>fr.inrae.GES_PAC</ApplicationId>
30

    
31
		<!-- Versions -->
32
		<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
33
		<ApplicationVersion>1</ApplicationVersion>
34

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

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

    
46
	<ItemGroup>
47
		<!-- App Icon -->
48
		<MauiIcon Include="Resources\AppIcon\appicon.svg" Color="#FFFFFF" />
49

    
50
		<!-- Splash Screen -->
51
		<MauiSplashScreen Include="Resources\Images\logo_inrae.svg" Color="White" BaseSize="128,128" />
52

    
53
		<!-- Images -->
54
		<MauiImage Include="Resources\Images\*" />
55
		<MauiImage Include="Resources\Images\AjoutSuppr\*" />
56
		<MauiImage Include="Resources\Images\Animaux\*" />
57
		<MauiImage Include="Resources\Images\Liste\*" />
58
		<MauiImage Include="Resources\Images\PeripheriqueConnexion\*" />
59
		<MauiImage Include="Resources\Images\Sanitaire\*" />
60
		<MauiImage Include="Resources\Images\Scientifique\*" />
61
		<MauiImage Include="Resources\Images\Special\*" />
62
		<MauiImage Include="Resources\Images\Utile\*" />
63
		<MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />
64

    
65
		<!-- Custom Fonts -->
66
		<MauiFont Include="Resources\Fonts\*" />
67

    
68
		<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
69
		<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
70
	</ItemGroup>
71

    
72
	<ItemGroup>
73
		<PackageReference Include="CommunityToolkit.Maui" Version="9.1.1" />
74
		<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.4" />
75
		<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
76
		<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
77
		<PackageReference Include="sqlite-net-pcl" Version="1.9.172" />
78
	</ItemGroup>
79

    
80
	<ItemGroup>
81
	  <Compile Update="View\CreateCalibrationView.xaml.cs">
82
	    <DependentUpon>CreateCalibrationView.xaml</DependentUpon>
83
	  </Compile>
84
	  <Compile Update="View\CreateDayView.xaml.cs">
85
	    <DependentUpon>CreateDayView.xaml</DependentUpon>
86
	  </Compile>
87
	  <Compile Update="View\CreatePlaceView.xaml.cs">
88
	    <DependentUpon>CreatePlaceView.xaml</DependentUpon>
89
	  </Compile>
90
	  <Compile Update="View\EnterAnimalView.xaml.cs">
91
	    <DependentUpon>EnterAnimalView.xaml</DependentUpon>
92
	  </Compile>
93
	  <Compile Update="View\SetListView.xaml.cs">
94
	    <DependentUpon>SetListView.xaml</DependentUpon>
95
	  </Compile>
96
	</ItemGroup>
97

    
98
	<ItemGroup>
99
	  <MauiXaml Update="View\ChambersView.xaml">
100
	    <Generator>MSBuild:Compile</Generator>
101
	  </MauiXaml>
102
	  <MauiXaml Update="View\Controls\ChamberButtonView.xaml">
103
	    <Generator>MSBuild:Compile</Generator>
104
	  </MauiXaml>
105
	  <MauiXaml Update="View\CreateCalibrationView.xaml">
106
	    <Generator>MSBuild:Compile</Generator>
107
	  </MauiXaml>
108
	  <MauiXaml Update="View\CreateDayView.xaml">
109
	    <Generator>MSBuild:Compile</Generator>
110
	  </MauiXaml>
111
	  <MauiXaml Update="View\CreateMeasureView.xaml">
112
	    <Generator>MSBuild:Compile</Generator>
113
	  </MauiXaml>
114
	  <MauiXaml Update="View\CreatePersonView.xaml">
115
	    <Generator>MSBuild:Compile</Generator>
116
	  </MauiXaml>
117
	  <MauiXaml Update="View\CreateSetView.xaml">
118
	    <Generator>MSBuild:Compile</Generator>
119
	  </MauiXaml>
120
	  <MauiXaml Update="View\EndDayView.xaml">
121
	    <Generator>MSBuild:Compile</Generator>
122
	  </MauiXaml>
123
	  <MauiXaml Update="View\EndSetView.xaml">
124
	    <Generator>MSBuild:Compile</Generator>
125
	  </MauiXaml>
126
	  <MauiXaml Update="View\EnterAnimalView.xaml">
127
	    <Generator>MSBuild:Compile</Generator>
128
	  </MauiXaml>
129
	  <MauiXaml Update="View\MainView.xaml">
130
	    <Generator>MSBuild:Compile</Generator>
131
	  </MauiXaml>
132
	  <MauiXaml Update="View\CreatePlaceView.xaml">
133
	    <Generator>MSBuild:Compile</Generator>
134
	  </MauiXaml>
135
	  <MauiXaml Update="View\SetListView.xaml">
136
	    <Generator>MSBuild:Compile</Generator>
137
	  </MauiXaml>
138
	  <MauiXaml Update="View\CreateBehaviourView.xaml">
139
	    <Generator>MSBuild:Compile</Generator>
140
	  </MauiXaml>
141
	  <MauiXaml Update="View\Tools\ConnectionIndicatorView.xaml">
142
	    <Generator>MSBuild:Compile</Generator>
143
	  </MauiXaml>
144
	</ItemGroup>
145

    
146
</Project>