Search code examples
pdf-generationhtml-to-pdf

Could not copy the file "..\HiQPdf.dep" because it was not found


I get this build error after trying to use HTML to PDF Converter Library for .NET. I copy over the dll, dep and xml files from the ZIPped folder downloaded from the website but when I compile my code, the HiQPdf.dep disappears.

The FAQs from the website say to change the execute permissions of the HiQPdf.dep file but after i do this, it still doesn't work.

How can i get rid of this error?


Solution

  • I resolved this by changing the execute permissions on the HiQPdf.dep file and then changing it to read-only. I don't see how this is a stable or logical fix but it is working now.