-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
37 lines (31 loc) · 1.84 KB
/
Directory.Build.props
File metadata and controls
37 lines (31 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<Project>
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<MauiVersion>10.0.31</MauiVersion>
</PropertyGroup>
<!-- Common NuGet package metadata -->
<PropertyGroup>
<Version>0.23.1</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Authors>MauiDevFlow Contributors</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/Redth/MauiDevFlow</RepositoryUrl>
</PropertyGroup>
<ItemGroup Condition="'$(IsPackable)' != 'false'">
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="/" />
</ItemGroup>
<!-- Common SupportedOSPlatformVersion for all MAUI projects -->
<PropertyGroup Condition="'$(UseMaui)' == 'true'">
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
</PropertyGroup>
<!-- macOS AppKit (net10.0-macos) support: SDK defines __MACOS__ but not MACOS -->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'macos'">
<SupportedOSPlatformVersion>14.0</SupportedOSPlatformVersion>
<DefineConstants>$(DefineConstants);MACOS</DefineConstants>
</PropertyGroup>
</Project>