2022-08-27 02:17:20 +03:00
<Project Sdk= "Microsoft.NET.Sdk" >
<Import Project= "..\..\..\Version.props" />
<PropertyGroup >
<AssemblyTitle > PowerToys.MeasureTool</AssemblyTitle>
<AssemblyDescription > PowerToys MeasureTool</AssemblyDescription>
<OutputType > WinExe</OutputType>
2023-11-22 12:46:59 -05:00
<TargetFramework > net8.0-windows10.0.20348.0</TargetFramework>
2022-08-27 02:17:20 +03:00
<TargetPlatformMinVersion > 10.0.19041.0</TargetPlatformMinVersion>
2023-07-20 00:12:46 +01:00
<OutputPath > ..\..\..\..\$(Platform)\$(Configuration)\WinUI3Apps</OutputPath>
2022-08-27 02:17:20 +03:00
<RootNamespace > PowerToys.MeasureToolUI</RootNamespace>
<AssemblyName > PowerToys.MeasureToolUI</AssemblyName>
<ApplicationManifest > app.manifest</ApplicationManifest>
<Platforms > x86;x64;arm64</Platforms>
2023-11-22 12:46:59 -05:00
<RuntimeIdentifiers > win-x86;win-x64;win-arm64</RuntimeIdentifiers>
2022-08-27 02:17:20 +03:00
<UseWinUI > true</UseWinUI>
<GenerateSatelliteAssembliesForCore > true</GenerateSatelliteAssembliesForCore>
<AppendTargetFrameworkToOutputPath > false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath > false</AppendRuntimeIdentifierToOutputPath>
<EnablePreviewMsixTooling > true</EnablePreviewMsixTooling>
<WindowsPackageType > None</WindowsPackageType>
<WindowsAppSDKSelfContained > true</WindowsAppSDKSelfContained>
<SupportedOSPlatformVersion > 10.0.19041.0</SupportedOSPlatformVersion>
2022-12-14 13:37:23 +01:00
<SelfContained > true</SelfContained>
2023-07-20 00:12:46 +01:00
<!-- MRT from windows app sdk will search for a pri file with the same name of the module before defaulting to resources.pri -->
<ProjectPriFileName > PowerToys.MeasureToolUI.pri</ProjectPriFileName>
2022-12-14 13:37:23 +01:00
</PropertyGroup>
2023-07-20 00:12:46 +01:00
<ItemGroup >
<Page Remove= "MeasureToolXAML\App.xaml" />
</ItemGroup>
<ItemGroup >
<ApplicationDefinition Include= "MeasureToolXAML\App.xaml" />
</ItemGroup>
2022-12-14 13:37:23 +01:00
<!-- SelfContained=true requires RuntimeIdentifier to be set -->
<PropertyGroup Condition= "'$(Platform)'=='x64'" >
2023-11-22 12:46:59 -05:00
<RuntimeIdentifier > win-x64</RuntimeIdentifier>
2022-12-14 13:37:23 +01:00
</PropertyGroup>
<PropertyGroup Condition= "'$(Platform)'=='ARM64'" >
2023-11-22 12:46:59 -05:00
<RuntimeIdentifier > win-arm64</RuntimeIdentifier>
2022-08-27 02:17:20 +03:00
</PropertyGroup>
2022-09-28 18:18:55 +02:00
<!-- See https://learn.microsoft.com/windows/apps/develop/platform/csharp - winrt/net - projection - from - cppwinrt - component for more info -->
2022-08-27 02:17:20 +03:00
<PropertyGroup >
2022-10-26 14:02:31 +01:00
<CsWinRTIncludes > PowerToys.MeasureToolCore;PowerToys.GPOWrapper</CsWinRTIncludes>
2022-08-27 02:17:20 +03:00
<CsWinRTGeneratedFilesDir > $(OutDir)</CsWinRTGeneratedFilesDir>
<ErrorOnDuplicatePublishOutputFiles > false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>
<PropertyGroup >
<NoWarn > 0436</NoWarn>
</PropertyGroup>
<ItemGroup >
2023-07-20 00:12:46 +01:00
<Content Include= "Assets\MeasureTool\SplashScreen.scale-200.png" />
<Content Include= "Assets\MeasureTool\LockScreenLogo.scale-200.png" />
<Content Include= "Assets\MeasureTool\Square150x150Logo.scale-200.png" />
<Content Include= "Assets\MeasureTool\Square44x44Logo.scale-200.png" />
<Content Include= "Assets\MeasureTool\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include= "Assets\MeasureTool\StoreLogo.png" />
<Content Include= "Assets\MeasureTool\Wide310x150Logo.scale-200.png" />
2022-08-27 02:17:20 +03:00
</ItemGroup>
<ItemGroup >
2023-02-13 12:10:33 -05:00
<PackageReference Include= "Microsoft.Windows.CsWinRT" />
<PackageReference Include= "Microsoft.WindowsAppSDK" />
<PackageReference Include= "Microsoft.Windows.SDK.BuildTools" />
<PackageReference Include= "WinUIEx" />
2022-08-27 02:17:20 +03:00
<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 '$(EnablePreviewMsixTooling)'=='true'" >
<ProjectCapability Include= "Msix" />
</ItemGroup>
<ItemGroup >
2023-07-20 00:12:46 +01:00
<!-- HACK: Common.UI is referenced, even if it is not used, to force dll versions to be the same as in other projects that use it. It's still unclear why this is the case, but this is need for flattening the install directory. -->
<ProjectReference Include= "..\..\..\common\Common.UI\Common.UI.csproj" />
2022-10-26 14:02:31 +01:00
<ProjectReference Include= "..\..\..\common\GPOWrapper\GPOWrapper.vcxproj" />
2022-09-05 15:39:56 +03:00
<ProjectReference Include= "..\..\..\common\interop\PowerToys.Interop.vcxproj" />
2022-08-27 02:17:20 +03:00
<ProjectReference Include= "..\..\..\common\ManagedCommon\ManagedCommon.csproj" />
2023-04-27 16:38:24 +02:00
<ProjectReference Include= "..\..\..\settings-ui\Settings.UI.Library\Settings.UI.Library.csproj" />
2022-08-27 02:17:20 +03:00
<ProjectReference Include= "..\MeasureToolCore\PowerToys.MeasureToolCore.vcxproj" />
</ItemGroup>
</Project>