6/10/2023 0 Comments Download free puppeteersharpPlease see the application event log or use the command-line sxstrace.exe tool for more detail. The application has failed to start because its side-by-side configuration is incorrect. Var browserFetcher = new BrowserFetcher() Īwait using var browser = await Puppeteer.LaunchAsync(new LaunchOptions ) Var encoding = įile.AppendAllText(Directory.GetCurrentDirectory() "\\Invoice.html", html, 8) The code is below : public async Task generatePDFAsync(string html) I am trying to create a functionality where I am converting a html string to pdf through byte.
0 Comments
Leave a Reply. |