|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<Project Sdk="Microsoft.NET.Sdk.Razor"> |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFramework>net8.0-windows10.0.19041.0</TargetFramework> |
| 5 | + <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion> |
| 6 | + <OutputType>WinExe</OutputType> |
| 7 | + |
| 8 | + <!-- .NET MAUI --> |
| 9 | + <UseMaui>true</UseMaui> |
| 10 | + <SingleProject>true</SingleProject> |
| 11 | + <EnableDefaultCssItems>false</EnableDefaultCssItems> |
| 12 | + |
| 13 | + <!-- Uncomment the below property if intended to run the project as Unpackaged --> |
| 14 | + <!--<WindowsPackageType>None</WindowsPackageType>--> |
| 15 | + |
| 16 | + <!-- Display name --> |
| 17 | + <ApplicationTitle>HybridRclApp</ApplicationTitle> |
| 18 | + |
| 19 | + <!-- App Identifier --> |
| 20 | + <ApplicationIdGuid>7d3b675d-62d4-427d-a35d-bcf4194ec2a9</ApplicationIdGuid> |
| 21 | + |
| 22 | + <!-- Versions --> |
| 23 | + <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
| 24 | + <ApplicationVersion>1</ApplicationVersion> |
| 25 | + |
| 26 | + <!-- WinUI 3 --> |
| 27 | + <UseWinUI>true</UseWinUI> |
| 28 | + <EnableMsixTooling>true</EnableMsixTooling> |
| 29 | + |
| 30 | + <!-- Project Options --> |
| 31 | + <Nullable>enable</Nullable> |
| 32 | + <LangVersion>latest</LangVersion> |
| 33 | + <!--<ImplicitUsings>enable</ImplicitUsings>--> |
| 34 | + <RootNamespace>HybridRclApp.WinUI</RootNamespace> |
| 35 | + |
| 36 | + <!-- App Options --> |
| 37 | + <Platforms>x86;x64;arm64</Platforms> |
| 38 | + <ApplicationManifest>app.manifest</ApplicationManifest> |
| 39 | + <PublishProfile>win10-$(Platform).pubxml</PublishProfile> |
| 40 | + <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers> |
| 41 | + </PropertyGroup> |
| 42 | + |
| 43 | + <ItemGroup> |
| 44 | + <!-- App Icon --> |
| 45 | + <MauiIcon Include="Resources\appicon.svg" ForegroundFile="Resources\appiconfg.svg" Color="#512BD4"/> |
| 46 | + <!-- Splash Screen --> |
| 47 | + <MauiSplashScreen Include="Resources\appiconfg.svg" Color="#512BD4" BaseSize="128,128"/> |
| 48 | + <!-- Images --> |
| 49 | + <MauiImage Include="Resources\Images\*"/> |
| 50 | + <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> |
| 51 | + <!-- Custom Fonts --> |
| 52 | + <MauiFont Include="Resources\Fonts\*"/> |
| 53 | + <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
| 54 | + <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
| 55 | + </ItemGroup> |
| 56 | + |
| 57 | + <ItemGroup> |
| 58 | + <PackageReference Include="VijayAnand.MauiBlazor.Markup" Version="3.0.0-preview.*" /> |
| 59 | + <Manifest Include="$(ApplicationManifest)" /> |
| 60 | + </ItemGroup> |
| 61 | + |
| 62 | + <!-- |
| 63 | + Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging |
| 64 | + Tools extension to be activated for this project even if the Windows App SDK Nuget |
| 65 | + package has not yet been restored. |
| 66 | + --> |
| 67 | + <ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> |
| 68 | + <ProjectCapability Include="Msix" /> |
| 69 | + </ItemGroup> |
| 70 | + |
| 71 | + <ItemGroup> |
| 72 | + <ProjectReference Include="..\HybridRclApp.RazorLib\HybridRclApp.RazorLib.csproj" /> |
| 73 | + </ItemGroup> |
| 74 | + |
| 75 | + <!-- |
| 76 | + Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution |
| 77 | + Explorer "Package and Publish" context menu entry to be enabled for this project even if |
| 78 | + the Windows App SDK Nuget package has not yet been restored. |
| 79 | + --> |
| 80 | + <PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> |
| 81 | + <HasPackageAndPublishMenu>true</HasPackageAndPublishMenu> |
| 82 | + </PropertyGroup> |
| 83 | +</Project> |
0 commit comments