mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
* Adds QOI support to Peek * Reduce allocations on QoiImage * Add to QOI to Peek's NOTICE as well. * Ensure file stream is closed after reading QOI
79 lines
3.5 KiB
XML
79 lines
3.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<AssemblyTitle>PowerToys.GcodePreviewHandler</AssemblyTitle>
|
|
<AssemblyDescription>PowerToys GcodePreviewHandler</AssemblyDescription>
|
|
<Description>PowerToys GcodePreviewHandler</Description>
|
|
<DocumentationFile>..\..\..\..\$(Platform)\$(Configuration)\GcodePreviewPaneDocumentation.xml</DocumentationFile>
|
|
<OutputPath>..\..\..\..\$(Platform)\$(Configuration)</OutputPath>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<GenerateSatelliteAssembliesForCore>true</GenerateSatelliteAssembliesForCore>
|
|
<AssemblyName>PowerToys.GcodePreviewHandler</AssemblyName>
|
|
<SelfContained>true</SelfContained>
|
|
</PropertyGroup>
|
|
|
|
<!-- SelfContained=true requires RuntimeIdentifier to be set -->
|
|
<PropertyGroup Condition="'$(Platform)'=='x64'">
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Platform)'=='ARM64'">
|
|
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<ProjectGuid>{805306FF-A562-4415-8DEF-E493BDC45918}</ProjectGuid>
|
|
<RootNamespace>Microsoft.PowerToys.PreviewHandler.Gcode</RootNamespace>
|
|
<TargetFramework>net8.0-windows10.0.20348.0</TargetFramework>
|
|
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
|
|
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\..\..\Version.props" />
|
|
|
|
<ItemGroup>
|
|
<Compile Update="GcodePreviewHandlerControl.cs" />
|
|
<Compile Update="Properties\Resource.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Resource.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<!-- See https://learn.microsoft.com/windows/apps/develop/platform/csharp-winrt/net-projection-from-cppwinrt-component for more info -->
|
|
<PropertyGroup>
|
|
<CsWinRTIncludes>PowerToys.GPOWrapper</CsWinRTIncludes>
|
|
<CsWinRTGeneratedFilesDir>$(OutDir)</CsWinRTGeneratedFilesDir>
|
|
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<!-- Disable missing comment warning. WinRT/C++ libraries added won't have comments on their reflections. -->
|
|
<NoWarn>$(NoWarn);1591</NoWarn>
|
|
<OutputType>WinExe</OutputType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Windows.CsWinRT" />
|
|
<PackageReference Include="System.IO.Abstractions" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\..\common\Common.UI\Common.UI.csproj" />
|
|
<ProjectReference Include="..\..\..\common\FilePreviewCommon\FilePreviewCommon.csproj" />
|
|
<ProjectReference Include="..\..\..\common\GPOWrapper\GPOWrapper.vcxproj" />
|
|
<ProjectReference Include="..\..\..\common\interop\PowerToys.Interop.vcxproj" />
|
|
<ProjectReference Include="..\..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" />
|
|
<ProjectReference Include="..\common\PreviewHandlerCommon.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Properties\Resource.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
</Project>
|