We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Blink Files Are Missing in WinForms ClickOnce app

I've installed the Syncfusion.HtmlToPdfConverter.WinForms NuGet package in my .Net 4.8 ClickOnce app but when the app is installed and I run it, I get the error: Blink files are missing at C:\Users\...  (see the attachment for the complete error message)

I've been to the following page:

https://help.syncfusion.com/file-formats/pdf/convert-html-to-pdf/blink

...but the info there seems aimed at web apps, not desktop apps

Could you give me some pointers on where I should be looking for the answer?

Thanks.


Attachment: imgpsh_mobile_save_ac058da0.zip

2 Replies 1 reply marked as answer

SN Santhiya Narayanan Syncfusion Team March 13, 2023 01:20 PM UTC

We have checked the reported issue with Blink ClickOnce sample on our end and able to reproduce the Blink files missing exception on our end. The reported exception occurs due to that the required Blink binaries are not available in that ClickOnce app location. To overcome this exception, we need to include the BlinkBinaries folder files in the WinForms project. We have attached the runnable ClickOnce sample for your reference, please find the sample link below,
Sample: Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/WindowsFormsClickOnce1572287648

Please set the Copy to Output Directory as “Copy always” and Build Action as “Content” to all the Blink Binaries inner and sub folder files,


Please make sure the Blink Binaries folder files are included in the ClickOnce app location after publishing the project, refer the below screenshot,


Please try the above solution on your end and let us know the result.


Marked as answer

JJ Jay Jennings replied to Santhiya Narayanan March 13, 2023 10:34 PM UTC

Beautiful! Thanks for the fix!


Loader.
Live Chat Icon For mobile
Up arrow icon