Revert target frameworks to net462

This commit is contained in:
ema
2026-04-14 18:19:30 +08:00
parent 7f1dfcabf9
commit bce1f49d22
28 changed files with 90 additions and 270 deletions
@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net481</TargetFramework>
<TargetFramework>net462</TargetFramework>
<RootNamespace>QuickLook.Plugin.PDFViewer</RootNamespace>
<AssemblyName>QuickLook.Plugin.PDFViewer</AssemblyName>
<FileAlignment>512</FileAlignment>
@@ -14,7 +14,8 @@
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<ProjectGuid>{A82AC69C-EDF5-4F0D-8CBD-8E5E3C06E64D}</ProjectGuid>
<Platforms>AnyCPU;ARM64</Platforms>
<PlatformTarget>AnyCPU</PlatformTarget>
<Platforms>AnyCPU;x64;ARM64</Platforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
@@ -109,9 +110,9 @@
<!-- Not support to ARM64 -->
</Target>
<Target Name="AfterBuildARM64" AfterTargets="Build">
<Copy SourceFiles="$(OutputPath)\arm64\pdfium.dll" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
</Target>
<Target Name="AfterBuildARM64" AfterTargets="Build">
<Copy SourceFiles="$(OutputPath)\arm64\pdfium.dll" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
</Target>
<ItemGroup>
<Resource Include="Resources\loading.png" />