-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong destination path, not running with azure-function, #2
Comments
@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. 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 |
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:
|
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? |
the wkhtmltopdf binaries will be copyed in a wrong folder.
DestinationFiles="$(OutDir)\wkhtmltopdf<plattform><bitness>\wkhtmltopdf" is not ok for AzureFunction.
it must be:
DestinationFiles="$(OutDir)\bin\wkhtmltopdf<plattform><bitness>\wkhtmltopdf"
the start of any azurefunction is "../bin/court4u.AzureFunction.dll"
![image](https://user-images.githubusercontent.com/61390650/80028787-f28e2300-84e5-11ea-8546-831e19955028.png)
but the binaries not copyed in the correct bin-folder
![image](https://user-images.githubusercontent.com/61390650/80028527-890e1480-84e5-11ea-9410-a88ec878dece.png)
do you can fix this? or do you have any workaround?
The text was updated successfully, but these errors were encountered: