소스 검색

Added targets for legacy .NET Framework

MarcinZiabek 1 년 전
부모
커밋
0dcaf21c19
2개의 변경된 파일26개의 추가작업 그리고 2개의 파일을 삭제
  1. 7 2
      Source/QuestPDF/QuestPDF.csproj
  2. 19 0
      Source/QuestPDF/QuestPDF.targets

+ 7 - 2
Source/QuestPDF/QuestPDF.csproj

@@ -3,7 +3,7 @@
         <Authors>MarcinZiabek</Authors>
         <Company>CodeFlint</Company>
         <PackageId>QuestPDF</PackageId>
-        <Version>2024.3.0-internal53</Version>
+        <Version>2024.3.0-internal83</Version>
         <PackageDescription>QuestPDF is an open-source, modern and battle-tested library that can help you with generating PDF documents by offering friendly, discoverable and predictable C# fluent API. Easily generate PDF reports, invoices, exports, etc.</PackageDescription>
         <PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/Resources/ReleaseNotes.txt"))</PackageReleaseNotes>
         <LangVersion>10</LangVersion>
@@ -43,7 +43,7 @@
             <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
             <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
             <Pack>true</Pack>
-            <PackagePath>runtimes\any\native\%(RecursiveDir)%(Filename)%(Extension)</PackagePath>
+            <PackagePath>runtimes\any\native\LatoFont\%(RecursiveDir)%(Filename)%(Extension)</PackagePath>
         </None>
         
         <None Include="Runtimes\**\*.*">
@@ -52,5 +52,10 @@
             <Pack>true</Pack>
             <PackagePath>runtimes\%(RecursiveDir)%(Filename)%(Extension)</PackagePath>
         </None>
+
+        <None Include="QuestPDF.targets">
+            <PackagePath>build\</PackagePath>
+            <Pack>true</Pack>
+        </None>
     </ItemGroup>
 </Project>

+ 19 - 0
Source/QuestPDF/QuestPDF.targets

@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+    <ItemGroup>
+        <None Include="$(MSBuildThisFileDirectory)\..\runtimes\win-x64\native\QuestPdfSkia.dll">
+            <Link>QuestPdfSkia.dll</Link>
+            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+        </None>
+
+        <None Include="$(MSBuildThisFileDirectory)\..\runtimes\win-x64\native\icudtl.dat">
+            <Link>icudtl.dat</Link>
+            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+        </None>
+
+        <None Include="$(MSBuildThisFileDirectory)\..\runtimes\any\native\LatoFont\*.*">
+            <Link>LatoFont\%(Filename)%(Extension)</Link>
+            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+        </None>
+    </ItemGroup>
+</Project>