Statistiques
| Branche: | Révision:

root / GES_PAC / GES_PAC.csproj @ a7fee243

Historique | Voir | Annoter | Télécharger (6,478 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>0.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.IdentityModel.Tokens" Version="6.25.0" />
76
		<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
77
		<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
78
		<PackageReference Include="sqlite-net-pcl" Version="1.9.172" />
79
		<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.25.0" />
80
	</ItemGroup>
81

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

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

    
142
	<ItemGroup>
143
	  <Reference Include="SicpaJWT">
144
	    <HintPath>Libs\SicpaJWT.dll</HintPath>
145
	  </Reference>
146
	  <Reference Include="SicpaMAUIDevice">
147
	    <HintPath>Libs\SicpaMAUIDevice.dll</HintPath>
148
	  </Reference>
149
	</ItemGroup>
150

    
151
</Project>