2024-02-07 03:58:05 +03:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
|
|
<OutputType>WinExe</OutputType>
|
|
|
|
<TargetFramework>$(SamplesTargetFrameworkMoniker)</TargetFramework>
|
2024-03-14 19:56:01 +03:00
|
|
|
<TargetPlatformVersion>$(WindowsSdkTargetPlatformVersion)</TargetPlatformVersion>
|
|
|
|
<TargetPlatformMinVersion>$(WindowsAppSdkTargetPlatformVersion)</TargetPlatformMinVersion>
|
2024-02-07 03:58:05 +03:00
|
|
|
<RootNamespace>WinUIGalleryUnitTests</RootNamespace>
|
|
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
|
|
<Platforms>x86;x64;ARM64</Platforms>
|
2024-03-12 20:40:00 +03:00
|
|
|
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
|
2024-02-07 03:58:05 +03:00
|
|
|
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
|
|
|
|
<UseWinUI>true</UseWinUI>
|
|
|
|
<EnableMsixTooling>true</EnableMsixTooling>
|
|
|
|
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
|
|
|
|
<SelfContained>true</SelfContained>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<Page Remove="UnitTestApp.xaml" />
|
|
|
|
<ApplicationDefinition Include="UnitTestApp.xaml" />
|
|
|
|
<ProjectCapability Include="TestContainer" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<Content Include="Assets\SplashScreen.scale-200.png" />
|
|
|
|
<Content Include="Assets\LockScreenLogo.scale-200.png" />
|
|
|
|
<Content Include="Assets\Square150x150Logo.scale-200.png" />
|
|
|
|
<Content Include="Assets\Square44x44Logo.scale-200.png" />
|
|
|
|
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
|
|
|
|
<Content Include="Assets\StoreLogo.png" />
|
|
|
|
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="Microsoft.WindowsAppSDK" Version="$(WindowsAppSdkPackageVersion)" />
|
|
|
|
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" />
|
|
|
|
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
|
|
|
|
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
|
|
|
|
<PackageReference Include="Microsoft.TestPlatform.TestHost" Version="17.7.2">
|
|
|
|
<ExcludeAssets>build</ExcludeAssets>
|
|
|
|
</PackageReference>
|
|
|
|
<Manifest Include="$(ApplicationManifest)" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging
|
|
|
|
Tools extension to be activated for this project even if the Windows App SDK Nuget
|
|
|
|
package has not yet been restored.
|
|
|
|
-->
|
|
|
|
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
|
|
|
|
<ProjectCapability Include="Msix" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ProjectReference Include="..\WinUIGallery\WinUIGallery.csproj" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution
|
|
|
|
Explorer "Package and Publish" context menu entry to be enabled for this project even if
|
|
|
|
the Windows App SDK Nuget package has not yet been restored.
|
|
|
|
-->
|
|
|
|
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
|
|
|
|
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>
|
|
|
|
</PropertyGroup>
|
|
|
|
</Project>
|