/ src / modules / imageresizer / ImageResizerCLI / ImageResizerCLI.csproj
ImageResizerCLI.csproj
 1  <Project Sdk="Microsoft.NET.Sdk">
 2    <!-- Look at Directory.Build.props in root for common stuff as well -->
 3    <Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" />
 4    <Import Project="$(RepoRoot)src\Common.SelfContained.props" />
 5    <Import Project="$(RepoRoot)src\Common.Dotnet.AotCompatibility.props" />
 6  
 7    <PropertyGroup>
 8      <AssemblyTitle>PowerToys.ImageResizerCLI</AssemblyTitle>
 9      <AssemblyDescription>PowerToys Image Resizer Command Line Interface</AssemblyDescription>
10      <Description>PowerToys Image Resizer CLI</Description>
11      <OutputType>Exe</OutputType>
12      <Platforms>x64;ARM64</Platforms>
13      <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
14      <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
15      <OutputPath>$(RepoRoot)$(Platform)\$(Configuration)\WinUI3Apps\</OutputPath>
16      <AssemblyName>PowerToys.ImageResizerCLI</AssemblyName>
17      <NoWarn>$(NoWarn);SA1500;SA1402;CA1852</NoWarn>
18    </PropertyGroup>
19  
20    <ItemGroup>
21      <ProjectReference Include="..\ui\ImageResizerUI.csproj" />
22    </ItemGroup>
23  
24    <!-- Force using WindowsDesktop runtime to ensure consistent dll versions with other projects -->
25    <ItemGroup>
26      <FrameworkReference Include="Microsoft.WindowsDesktop.App.WPF" />
27    </ItemGroup>
28  </Project>