System.IO.DirectoryNotFoundException: 'Could not find a part of the path 'C:\Program Files (x86)\ActivePDF\Toolkit\bin\x64'.'

HResult=0x80070003


Resolution:

  • Project > projectname Properties > Build tab
  • Change Platform target to Any CPU or x64.

 


If Platform Target is set to Any CPU, be sure to uncheck the Prefer 32-bit box