|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFramework>net8.0-windows10.0.19041.0</TargetFramework> |
| 5 | + <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion> |
| 6 | + <OutputType>WinExe</OutputType> |
| 7 | + |
| 8 | + <!-- WinUI 3 --> |
| 9 | + <UseWinUI>true</UseWinUI> |
| 10 | + <EnableMsixTooling>true</EnableMsixTooling> |
| 11 | + <WindowsPackageType>None</WindowsPackageType> |
| 12 | + |
| 13 | + <!-- Project Options --> |
| 14 | + <Nullable>enable</Nullable> |
| 15 | + <!-- <ImplicitUsings>enable</ImplicitUsings> --> |
| 16 | + <RootNamespace>MapsApp</RootNamespace> |
| 17 | + <EnableDefaultXamlItems>false</EnableDefaultXamlItems> |
| 18 | + |
| 19 | + <!-- App Options --> |
| 20 | + <UseRidGraph>true</UseRidGraph> |
| 21 | + <Platforms>x86;x64;arm64</Platforms> |
| 22 | + <ApplicationManifest>app.manifest</ApplicationManifest> |
| 23 | + <PublishProfile>win10-$(Platform).pubxml</PublishProfile> |
| 24 | + <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers> |
| 25 | + </PropertyGroup> |
| 26 | + |
| 27 | + <ItemGroup> |
| 28 | + <Content Include="Assets\SplashScreen.scale-200.png" /> |
| 29 | + <Content Include="Assets\LockScreenLogo.scale-200.png" /> |
| 30 | + <Content Include="Assets\Square150x150Logo.scale-200.png" /> |
| 31 | + <Content Include="Assets\Square44x44Logo.scale-200.png" /> |
| 32 | + <Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /> |
| 33 | + <Content Include="Assets\StoreLogo.png" /> |
| 34 | + <Content Include="Assets\Wide310x150Logo.scale-200.png" /> |
| 35 | + </ItemGroup> |
| 36 | + |
| 37 | + <ItemGroup> |
| 38 | + <PackageReference Include="CommunityToolkit.Maui.Maps" Version="2.0.0" /> |
| 39 | + <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.7" /> |
| 40 | + <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.7" /> |
| 41 | + <PackageReference Include="Microsoft.Maui.Controls.Maps" Version="8.0.7" /> |
| 42 | + <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.*" /> |
| 43 | + <PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.*" /> |
| 44 | + <Manifest Include="$(ApplicationManifest)" /> |
| 45 | + </ItemGroup> |
| 46 | + |
| 47 | + <!-- |
| 48 | + Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging |
| 49 | + Tools extension to be activated for this project even if the Windows App SDK Nuget |
| 50 | + package has not yet been restored. |
| 51 | + --> |
| 52 | + <ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> |
| 53 | + <ProjectCapability Include="Msix" /> |
| 54 | + </ItemGroup> |
| 55 | + |
| 56 | + <!-- |
| 57 | + Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution |
| 58 | + Explorer "Package and Publish" context menu entry to be enabled for this project even if |
| 59 | + the Windows App SDK Nuget package has not yet been restored. |
| 60 | + --> |
| 61 | + <PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> |
| 62 | + <HasPackageAndPublishMenu>true</HasPackageAndPublishMenu> |
| 63 | + </PropertyGroup> |
| 64 | +</Project> |
0 commit comments