Skip to content

Commit c95eb71

Browse files
committed
Task-824021-Exclude BlinkBinaries folder
1 parent a7f379e commit c95eb71

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,5 +1546,26 @@ N> We have option to exclude the default Blink binaries from the installation pa
15461546

15471547
</PackageReference>
15481548

1549+
{% endhighlight %}
1550+
{% endtabs %}
1551+
1552+
## How to Exclude BlinkBinaries or Runtime Files in Build or Deployment
1553+
1554+
The runtime files, or blink binaries, will be copied into a bin or published folder while building and publishing the application.
1555+
By including the <ExcludeAssets>native</ExcludeAssets> option in the package reference of the csproj file, you can exclude the runtime files or blink binaries from being copied into the bin or publish folder while building and publishing the application. But you need to place the BlinkBinaries in the server disk and set the BlinkPath in the BlinkConverterSettings to perform the conversion.
1556+
1557+
N> Using this approach, you can reduce the deployment size on your own servers.
1558+
1559+
Refer to the following package reference:
1560+
1561+
{% tabs %}
1562+
{% highlight C# %}
1563+
1564+
<ItemGroup>
1565+
<PackageReference Include="Syncfusion.HtmlToPdfConverter.Net.Windows" Version="31.1.23">
1566+
<ExcludeAssets>native</ExcludeAssets>
1567+
</PackageReference>
1568+
</ItemGroup>
1569+
15491570
{% endhighlight %}
15501571
{% endtabs %}

0 commit comments

Comments
 (0)