PdfPreviewHandler.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 6 <PropertyGroup> 7 <ImplicitUsings>enable</ImplicitUsings> 8 <UseWindowsForms>true</UseWindowsForms> 9 <AssemblyTitle>PowerToys.PdfPreviewHandler</AssemblyTitle> 10 <AssemblyDescription>PowerToys PdfPreviewHandler</AssemblyDescription> 11 <Description>PowerToys PdfPreviewHandler</Description> 12 <DocumentationFile>..\..\..\..\$(Platform)\$(Configuration)\PdfPreviewPaneDocumentation.xml</DocumentationFile> 13 <OutputPath>$(RepoRoot)$(Platform)\$(Configuration)</OutputPath> 14 <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> 15 <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath> 16 <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> 17 <GenerateSatelliteAssembliesForCore>true</GenerateSatelliteAssembliesForCore> 18 <ProjectGuid>{69E1EE8D-143A-4060-9129-4658ACF14AAF}</ProjectGuid> 19 <RootNamespace>Microsoft.PowerToys.PreviewHandler.Pdf</RootNamespace> 20 <AssemblyName>PowerToys.PdfPreviewHandler</AssemblyName> 21 <ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode> 22 </PropertyGroup> 23 24 <ItemGroup> 25 <Compile Update="PdfPreviewHandlerControl.cs" /> 26 <Compile Update="Properties\Resources.Designer.cs"> 27 <AutoGen>True</AutoGen> 28 <DesignTime>True</DesignTime> 29 <DependentUpon>Resources.resx</DependentUpon> 30 </Compile> 31 </ItemGroup> 32 33 <!-- See https://learn.microsoft.com/windows/apps/develop/platform/csharp-winrt/net-projection-from-cppwinrt-component for more info --> 34 <PropertyGroup> 35 <CsWinRTIncludes>PowerToys.GPOWrapper</CsWinRTIncludes> 36 <CsWinRTGeneratedFilesDir>$(OutDir)</CsWinRTGeneratedFilesDir> 37 <ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles> 38 </PropertyGroup> 39 <PropertyGroup> 40 <!-- Disable missing comment warning. WinRT/C++ libraries added won't have comments on their reflections. --> 41 <NoWarn>$(NoWarn);1591</NoWarn> 42 <OutputType>WinExe</OutputType> 43 </PropertyGroup> 44 45 <ItemGroup> 46 <PackageReference Include="System.IO.Abstractions" /> 47 </ItemGroup> 48 49 <ItemGroup> 50 <ProjectReference Include="..\..\..\common\Common.UI\Common.UI.csproj" /> 51 <ProjectReference Include="..\..\..\common\GPOWrapper\GPOWrapper.vcxproj" /> 52 <ProjectReference Include="..\..\..\common\interop\PowerToys.Interop.vcxproj" /> 53 <ProjectReference Include="..\..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" /> 54 <ProjectReference Include="..\common\PreviewHandlerCommon.csproj" /> 55 </ItemGroup> 56 57 </Project>