Skip to content

Commit a4e042e

Browse files
Merge pull request #1533 from syncfusion-content/Task-824021-BlinkUG
Task-824021-Update UG documentation for excluding the blink runtimes folder on publish.
2 parents 582ac55 + 02c1dc1 commit a4e042e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

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)