Net-Core-DocX-HTML-To-PDF-Converter icon indicating copy to clipboard operation
Net-Core-DocX-HTML-To-PDF-Converter copied to clipboard

Will this work on Azure?

Open yogen-darji-hs opened this issue 5 years ago • 4 comments

This is really nice solution. But will it work with Azure? Where should I add soffice.exe on Azure?

yogen-darji-hs avatar Dec 11 '19 08:12 yogen-darji-hs

Sorry, I don't actually know. We had a problem using it on Linux and switched to another library to convert from HTML to PDF....

martinweihrauch avatar Dec 31 '19 16:12 martinweihrauch

how do you deploy on azure? You have to copy your dotnet dlls somewhre and there you also have to add libreoffice.

For example if you deploy via Docker image on Azure where you copy your assemblies into the docker image, then you should also install/copy LibreOffice in this docker image.

gofal avatar Apr 15 '20 20:04 gofal

From visual studio, right click on soffice.exe ->properties -> set build action to "Content" and "Copy to output Directory" to "Copy if newer" or "Copy always"

sandunr avatar Apr 27 '20 00:04 sandunr

@martinweihrauch may I ask what library did you switch to?

Thanks.

Meligy avatar Jun 30 '20 02:06 Meligy