mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
* [Deps] Update CsWinRT to 2.1.5 * [Deps] Update WinAppSDK to 1.6.1 * [Props] Updated WindowsSdkPackageVersion to 22621.48 in Common.Dotnet.CsWinRT.props * Updated NOTICE.md * [Peek] Resolve ambiguity with Color struct
44 lines
1.7 KiB
XML
44 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!-- Some items may be set in Directory.Build.props in root -->
|
||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
<PropertyGroup>
|
||
<WindowsSdkPackageVersion>10.0.22621.48</WindowsSdkPackageVersion>
|
||
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
|
||
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
|
||
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
|
||
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
|
||
</PropertyGroup>
|
||
|
||
<!-- Common from the debug / release items -->
|
||
<PropertyGroup>
|
||
<WarningLevel>4</WarningLevel>
|
||
<NoWarn></NoWarn>
|
||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
||
<WarningsNotAsErrors>CA1720</WarningsNotAsErrors>
|
||
</PropertyGroup>
|
||
|
||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
||
<DebugSymbols>true</DebugSymbols>
|
||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||
<DebugType>full</DebugType>
|
||
<Optimize>false</Optimize>
|
||
</PropertyGroup>
|
||
|
||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||
<ErrorReport>prompt</ErrorReport>
|
||
<DefineConstants>RELEASE;TRACE</DefineConstants>
|
||
<DebugType>pdbonly</DebugType>
|
||
<Optimize>true</Optimize>
|
||
</PropertyGroup>
|
||
|
||
<ItemGroup>
|
||
<PackageReference Include="Microsoft.Windows.CsWinRT" />
|
||
</ItemGroup>
|
||
|
||
<!-- this may need to be removed on future CsWinRT upgrades-->
|
||
<Target Name="RemoveCsWinRTPackageAnalyzer" BeforeTargets="CoreCompile">
|
||
<ItemGroup>
|
||
<Analyzer Remove="@(Analyzer)" Condition="%(Analyzer.NuGetPackageId) == 'Microsoft.Windows.CsWinRT'" />
|
||
</ItemGroup>
|
||
</Target>
|
||
</Project> |