/ src / modules / previewpane / BgcodeThumbnailProvider / BgcodeThumbnailProvider.csproj
BgcodeThumbnailProvider.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      <ProjectGuid>{9BC1C986-1E97-4D07-A7B1-CE226C239EFA}</ProjectGuid>
10      <RootNamespace>Microsoft.PowerToys.ThumbnailHandler.Bgcode</RootNamespace>
11      <AssemblyName>PowerToys.BgcodeThumbnailProvider</AssemblyName>
12      <AssemblyTitle>PowerToys.BgcodeThumbnailProvider</AssemblyTitle>
13      <AssemblyDescription>PowerToys BgcodePreviewHandler</AssemblyDescription>
14      <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15      <Description>PowerToys BgcodePreviewHandler</Description>
16      <OutputPath>$(RepoRoot)$(Platform)\$(Configuration)</OutputPath>
17      <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
18      <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
19      <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
20    </PropertyGroup>
21  
22    <!-- See https://learn.microsoft.com/windows/apps/develop/platform/csharp-winrt/net-projection-from-cppwinrt-component for more info -->
23    <PropertyGroup>
24      <CsWinRTIncludes>PowerToys.GPOWrapper</CsWinRTIncludes>
25      <CsWinRTGeneratedFilesDir>$(OutDir)</CsWinRTGeneratedFilesDir>
26      <ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
27    </PropertyGroup>
28  
29    <PropertyGroup>
30      <!-- Disable missing comment warning. WinRT/C++ libraries added won't have comments on their reflections. -->
31      <NoWarn>$(NoWarn);1591</NoWarn>
32      <OutputType>WinExe</OutputType>
33    </PropertyGroup>
34  
35    <ItemGroup>
36      <ProjectReference Include="..\..\..\common\FilePreviewCommon\FilePreviewCommon.csproj" />
37      <ProjectReference Include="..\..\..\common\GPOWrapper\GPOWrapper.vcxproj" />
38      <ProjectReference Include="..\..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" />
39      <ProjectReference Include="..\Common\PreviewHandlerCommon.csproj" />
40      <ProjectReference Include="..\..\..\common\Common.UI\Common.UI.csproj" />
41    </ItemGroup>
42  
43  </Project>