Cannot add HTML2PDF.dll to Visual Studio project


Please help with this issue. When I try to add the reference of html2pdf.dll in Visual Studio 2012, I am getting below error message. I am not sure why. Any help would be highly appreciated.

"A Reference to ‘{file_path}/html2pdf.dll’ could not be added. Please make sure that the file is accessible, and this is as valid assembly or COM component.


Please see the readme.txt file included with the html2pdf module archive.

You cannot load the module at compile time.

Instead call it at runtime using HTML2PDF.SetModulePath().

Also see the HTML2PDFTest C# code.