Я успешно добавил другие DLL-файлы в другой проект C # следующим образом:
Right click Reference > Add Reference > Browse > Double click the .dll file
, но Microsoft Visual Studio 2008 выдает следующую жалобу:
A reference to ...\dll\FreeImage.dll could not be added.
Please make sure that the file is accessible,
and that it is a valid assembly or COM component.
Я использую .NET Framework 3.5. Я считаю, что это 32-битная DLL (она загружается с FreeImage3151Win32), поэтому я изменил конфигурацию проекта на x86.
Как правильно добавить FreeImage.dll в проект C #?