|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | | - <PropertyGroup> |
4 | | - <TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks> |
5 | | - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks> |
6 | | - <OutputType>Exe</OutputType> |
7 | | - <RootNamespace>SandboxMAUI</RootNamespace> |
8 | | - <UseMaui>true</UseMaui> |
9 | | - <SingleProject>true</SingleProject> |
10 | | - <ImplicitUsings>enable</ImplicitUsings> |
11 | | - <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling> |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks> |
| 6 | + <OutputType>Exe</OutputType> |
| 7 | + <RootNamespace>SandboxMAUI</RootNamespace> |
| 8 | + <UseMaui>true</UseMaui> |
| 9 | + <SingleProject>true</SingleProject> |
| 10 | + <ImplicitUsings>enable</ImplicitUsings> |
| 11 | + <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling> |
12 | 12 |
|
13 | | - <!-- Display name --> |
14 | | - <ApplicationTitle>SandboxMAUI</ApplicationTitle> |
| 13 | + <IsPackable>false</IsPackable> |
15 | 14 |
|
16 | | - <!-- App Identifier --> |
17 | | - <ApplicationId>com.companyname.sandboxmaui</ApplicationId> |
| 15 | + <!-- Display name --> |
| 16 | + <ApplicationTitle>SandboxMAUI</ApplicationTitle> |
18 | 17 |
|
19 | | - <!-- Versions --> |
20 | | - <ApplicationVersion>1</ApplicationVersion> |
| 18 | + <!-- App Identifier --> |
| 19 | + <ApplicationId>com.companyname.sandboxmaui</ApplicationId> |
21 | 20 |
|
22 | | - <!-- Required for C# Hot Reload --> |
23 | | - <UseInterpreter Condition="'$(Configuration)' == 'Debug'">True</UseInterpreter> |
| 21 | + <!-- Versions --> |
| 22 | + <ApplicationVersion>1</ApplicationVersion> |
24 | 23 |
|
25 | | - <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-ios'">14.2</SupportedOSPlatformVersion> |
26 | | - <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">14.0</SupportedOSPlatformVersion> |
27 | | - <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-android'">21.0</SupportedOSPlatformVersion> |
28 | | - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.17763.0</SupportedOSPlatformVersion> |
29 | | - <TargetPlatformMinVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.17763.0</TargetPlatformMinVersion> |
30 | | - </PropertyGroup> |
| 24 | + <!-- Required for C# Hot Reload --> |
| 25 | + <UseInterpreter Condition="'$(Configuration)' == 'Debug'">True</UseInterpreter> |
31 | 26 |
|
32 | | - <ItemGroup> |
33 | | - <!-- App Icon --> |
34 | | - <MauiIcon Include="Resources\appicon.svg" ForegroundFile="Resources\appiconfg.svg" Color="#512BD4" /> |
| 27 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-ios'">14.2</SupportedOSPlatformVersion> |
| 28 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">14.0</SupportedOSPlatformVersion> |
| 29 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-android'">21.0</SupportedOSPlatformVersion> |
| 30 | + <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.17763.0</SupportedOSPlatformVersion> |
| 31 | + <TargetPlatformMinVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.17763.0</TargetPlatformMinVersion> |
| 32 | + </PropertyGroup> |
35 | 33 |
|
36 | | - <!-- Splash Screen --> |
37 | | - <MauiSplashScreen Include="Resources\appiconfg.svg" Color="#512BD4" /> |
| 34 | + <ItemGroup> |
| 35 | + <!-- App Icon --> |
| 36 | + <MauiIcon Include="Resources\appicon.svg" ForegroundFile="Resources\appiconfg.svg" Color="#512BD4" /> |
38 | 37 |
|
39 | | - <!-- Images --> |
40 | | - <MauiImage Include="Resources\Images\*" /> |
| 38 | + <!-- Splash Screen --> |
| 39 | + <MauiSplashScreen Include="Resources\appiconfg.svg" Color="#512BD4" /> |
41 | 40 |
|
42 | | - <!-- Custom Fonts --> |
43 | | - <MauiFont Include="Resources\Fonts\*" /> |
| 41 | + <!-- Images --> |
| 42 | + <MauiImage Include="Resources\Images\*" /> |
44 | 43 |
|
45 | | - <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
46 | | - <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
47 | | - </ItemGroup> |
| 44 | + <!-- Custom Fonts --> |
| 45 | + <MauiFont Include="Resources\Fonts\*" /> |
48 | 46 |
|
49 | | - <ItemGroup Condition="$(TargetFramework.Contains('-windows'))"> |
50 | | - <!-- Required - WinUI does not yet have buildTransitive for everything --> |
51 | | - <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0" /> |
52 | | - <PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30" /> |
53 | | - </ItemGroup> |
| 47 | + <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
| 48 | + <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
| 49 | + </ItemGroup> |
| 50 | + |
| 51 | + <ItemGroup Condition="$(TargetFramework.Contains('-windows'))"> |
| 52 | + <!-- Required - WinUI does not yet have buildTransitive for everything --> |
| 53 | + <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0" /> |
| 54 | + <PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30" /> |
| 55 | + </ItemGroup> |
54 | 56 |
|
55 | 57 | <ItemGroup> |
56 | 58 | <ProjectReference Include="..\..\src\InputKit.Maui\InputKit.Maui.csproj" /> |
57 | 59 | </ItemGroup> |
58 | | - <PropertyGroup Condition="$(TargetFramework.Contains('-windows'))"> |
59 | | - <OutputType>WinExe</OutputType> |
60 | | - <RuntimeIdentifier>win10-x64</RuntimeIdentifier> |
61 | | - </PropertyGroup> |
62 | | - |
| 60 | + <PropertyGroup Condition="$(TargetFramework.Contains('-windows'))"> |
| 61 | + <OutputType>WinExe</OutputType> |
| 62 | + <RuntimeIdentifier>win10-x64</RuntimeIdentifier> |
| 63 | + </PropertyGroup> |
| 64 | + |
63 | 65 | </Project> |
0 commit comments