login about faq


It seems like my software now wants the Chilkat dll to be in the same directory as the executable, although I don't recall it ever wanting that before (WRONG). Without the dll in the same directory, I get:

System.IO.FileNotFoundException: Could not load file or assembly 'ChilkatDotNet46, Version=, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd' or one of its dependencies. The system cannot find the file specified.

Everything compiles fine, it runs fine in the IDE. Outside the IDE and on test machines, with the dll alongside the exe, it runs fine. I don't think it's one of the "common error" problems.

More Details

I am pretty certain that I have not had to distribute the dll with exe files before, so this is a new thing. (WRONG)

Edit: removed a bunch of useless info.

asked Aug 30 '16 at 16:57

theDonald's gravatar image


edited Aug 31 '16 at 16:04

Edited OP to reflect that I was wrong about including (or not) the DLL with deployed machines.

They are already on my dev machine and it had just been so long since I fooled with other units that I forgot; and now someone else takes care of setting up the deployed machines so it is not my problem. I was incorrect that it was not included on the target PC - it is; in the system path.

In older versions of VC++, the Chilkat functionality was baked in through #includes. In newer versions (e.g. VS2013/VS2015 like used here), the DLL must be included either in the same directory as the executable or installed in the GAC.


answered Aug 31 '16 at 16:09

theDonald's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 30 '16 at 16:57

Seen: 2,536 times

Last updated: Aug 31 '16 at 16:09

powered by OSQA