Code Monkey home page Code Monkey logo

Comments (4)

ping9719 avatar ping9719 commented on May 23, 2024

我也遇到了这个问题,并且我解决了这个问题。
(I had this problem, and I solved it)

我猜测你和我一样,有多个“解决方案”。
(My guess is that you, like me, have multiple "solutions.")

如图所示:
(as shown in the figure)
image

这样子就可以解决
(That's how it works)
image

总结:
(summarize)

在所有你使用到的“解决方案”中,都安装【PugPDF.Core】包,就可以完美解决此问题。
(Install the [PugPDF.Core] package in all the "solutions" you use to solve this problem.)

2020.04.23 13:14

from pugpdf.

pug-pelle-p avatar pug-pelle-p commented on May 23, 2024

@AndyG74 Did it work by adding the nuget to the host project?

If not maybe you can try to change the output dir for the project.
<OutputPath>somedir</OutputPath>

I know that there are some project that will output to /bin and some are not, but not sure how to determine which it is in the .target file

from pugpdf.

AndyG74 avatar AndyG74 commented on May 23, 2024

hi, no that is not a solution for AzureFunctions. i have try to copy the wkhtmltopdf-folder by post-build event, but also this is not a solution.

a valid solution is:

  • deploy the azurefunction with the visual studio to azure-cloud
  • then copy the wkhtmltopdf-folder to the correct azurefunction-bin-folder

from pugpdf.

pug-pelle-p avatar pug-pelle-p commented on May 23, 2024

I'm thinking of removing the publish step (that moves the binaries to the publish folder) and instead unpacking the binaries in runtime by writing it to a temp folder. Would that work for azure functions? Does it have write access?

from pugpdf.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.