Skip to content

Commit

Permalink
Use NAPS2.PdfSharp package
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanfish committed Mar 10, 2024
1 parent a3090e1 commit 3669c2d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 22 deletions.
4 changes: 0 additions & 4 deletions NAPS2.Lib.Tests/NAPS2.Lib.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
<Import Project="..\NAPS2.Setup\targets\LibUsers.targets" />

<ItemGroup>
<Reference Include="PdfSharpCore">
<HintPath>..\NAPS2.Setup\lib\PdfSharpCore.dll</HintPath>
</Reference>

<ProjectReference Include="..\NAPS2.Lib\NAPS2.Lib.csproj" />
<ProjectReference Include="..\NAPS2.Sdk.Tests\NAPS2.Sdk.Tests.csproj" />

Expand Down
3 changes: 0 additions & 3 deletions NAPS2.Sdk.Tests/NAPS2.Sdk.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
<Import Project="..\NAPS2.Setup\targets\SdkUsers.targets" />

<ItemGroup>
<Reference Include="PdfSharpCore">
<HintPath>..\NAPS2.Setup\lib\PdfSharpCore.dll</HintPath>
</Reference>
<Reference Include="NTwain">
<HintPath>..\NAPS2.Setup\lib\NTwain.dll</HintPath>
</Reference>
Expand Down
16 changes: 1 addition & 15 deletions NAPS2.Sdk/NAPS2.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
<PackageReference Include="NAPS2.PdfSharp" Version="1.0.1" />
<PackageReference Include="SharpZipLib" Version="1.4.2" />
<PackageReference Include="SixLabors.Fonts" Version="1.0.1" />
<Reference Include="PdfSharpCore">
<HintPath>..\NAPS2.Setup\lib\PdfSharpCore.dll</HintPath>
</Reference>
<!-- TODO: Switch back to the official nuget if https://github.com/soukoku/ntwain/pull/35 gets merged -->
<Reference Include="NTwain" Condition="'$(TargetFramework)' != 'net8-macos10.15'">
<HintPath>..\NAPS2.Setup\lib\NTwain.dll</HintPath>
Expand Down Expand Up @@ -97,26 +95,14 @@

<ItemGroup Condition="'$(TargetFramework)' != 'net8-macos10.15'">
<!-- TODO: Ideally we'd only have package dependencies, not direct dlls -->
<Content Include="..\NAPS2.Setup\lib\PdfSharpCore.dll">
<Pack>true</Pack>
<PackagePath>lib\net6.0</PackagePath>
</Content>
<Content Include="..\NAPS2.Setup\lib\NTwain.dll">
<Pack>true</Pack>
<PackagePath>lib\net6.0</PackagePath>
</Content>
<Content Include="..\NAPS2.Setup\lib\PdfSharpCore.dll">
<Pack>true</Pack>
<PackagePath>lib\net462</PackagePath>
</Content>
<Content Include="..\NAPS2.Setup\lib\NTwain.dll">
<Pack>true</Pack>
<PackagePath>lib\net462</PackagePath>
</Content>
<Content Include="..\NAPS2.Setup\lib\PdfSharpCore.dll">
<Pack>true</Pack>
<PackagePath>lib\net8.0-macos10.15</PackagePath>
</Content>
</ItemGroup>

<ItemGroup>
Expand Down
Binary file removed NAPS2.Setup/lib/PdfSharpCore.dll
Binary file not shown.

0 comments on commit 3669c2d

Please sign in to comment.