2022-05-11 13:35:18 +03:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<PropertyGroup>
|
2022-12-14 13:37:23 +01:00
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
|
<UseWindowsForms>true</UseWindowsForms>
|
2022-05-11 13:35:18 +03:00
|
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
|
|
|
<AssemblyTitle>PowerToys.SvgPreviewHandler</AssemblyTitle>
|
|
|
|
|
<AssemblyDescription>PowerToys SvgPreviewHandler</AssemblyDescription>
|
|
|
|
|
<Description>PowerToys SvgPreviewHandler</Description>
|
2022-05-11 16:49:28 +01:00
|
|
|
<OutputPath>..\..\..\..\$(Platform)\$(Configuration)\modules\FileExplorerPreview\</OutputPath>
|
2022-05-11 13:35:18 +03:00
|
|
|
<DocumentationFile>$(SolutionDir)$(Platform)\$(Configuration)\modules\FileExplorerPreview\SvgPreviewHandler.xml</DocumentationFile>
|
|
|
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
|
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
|
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
2022-05-19 14:02:08 +01:00
|
|
|
<GenerateSatelliteAssembliesForCore>true</GenerateSatelliteAssembliesForCore>
|
2022-05-11 16:49:28 +01:00
|
|
|
<RuntimeIdentifiers>win10-x64;win10-arm64</RuntimeIdentifiers>
|
2022-12-01 09:40:41 -05:00
|
|
|
<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
|
2022-12-14 13:37:23 +01:00
|
|
|
<SelfContained>true</SelfContained>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<!-- SelfContained=true requires RuntimeIdentifier to be set -->
|
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='x64'">
|
|
|
|
|
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='ARM64'">
|
|
|
|
|
<RuntimeIdentifier>win10-arm64</RuntimeIdentifier>
|
2022-05-11 13:35:18 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<ProjectGuid>{DA425894-6E13-404F-8DCB-78584EC0557A}</ProjectGuid>
|
|
|
|
|
<RootNamespace>Microsoft.PowerToys.PreviewHandler.Svg</RootNamespace>
|
|
|
|
|
<AssemblyName>PowerToys.SvgPreviewHandler</AssemblyName>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<Import Project="..\..\..\Version.props" />
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Update="Properties\Resource.Designer.cs">
|
|
|
|
|
<AutoGen>True</AutoGen>
|
|
|
|
|
<DesignTime>True</DesignTime>
|
|
|
|
|
<DependentUpon>Resource.resx</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Update="SvgPreviewControl.cs" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2022-10-26 14:02:31 +01:00
|
|
|
<!-- 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>
|
2022-11-29 14:41:22 -05:00
|
|
|
<!-- Disable missing comment warning. WinRT/C++ libraries added won't have comments on their reflections. -->
|
2022-10-26 14:02:31 +01:00
|
|
|
<NoWarn>$(NoWarn);1591</NoWarn>
|
2022-12-14 13:37:23 +01:00
|
|
|
<OutputType>WinExe</OutputType>
|
2022-10-26 14:02:31 +01:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2022-05-11 13:35:18 +03:00
|
|
|
<ItemGroup>
|
2022-12-14 13:37:23 +01:00
|
|
|
<ProjectReference Include="..\..\..\common\Common.UI\Common.UI.csproj" />
|
2022-10-26 14:02:31 +01:00
|
|
|
<ProjectReference Include="..\..\..\common\GPOWrapper\GPOWrapper.vcxproj" />
|
2022-12-14 13:37:23 +01:00
|
|
|
<ProjectReference Include="..\..\..\common\interop\PowerToys.Interop.vcxproj" />
|
2022-05-11 13:35:18 +03:00
|
|
|
<ProjectReference Include="..\..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" />
|
2023-04-21 18:54:57 +02:00
|
|
|
<ProjectReference Include="..\..\..\settings-ui\Settings.UI.Library\Settings.UI.Library.csproj" />
|
2022-05-11 13:35:18 +03:00
|
|
|
<ProjectReference Include="..\common\PreviewHandlerCommon.csproj" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2023-02-13 12:10:33 -05:00
|
|
|
<PackageReference Include="Microsoft.Windows.CsWinRT" />
|
|
|
|
|
<PackageReference Include="Microsoft.Web.WebView2" />
|
2022-05-11 13:35:18 +03:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<EmbeddedResource Update="Properties\Resource.resx">
|
|
|
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
|
|
|
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
|
|
|
|
|
</EmbeddedResource>
|
|
|
|
|
</ItemGroup>
|
2022-12-01 09:40:41 -05:00
|
|
|
|
2022-05-11 13:35:18 +03:00
|
|
|
</Project>
|