如何将FreeImage.dll添加到C#项目

jac*_*nad 3 c# visual-studio-2008

我已经成功地将其他.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#项目的正确方法是什么?

key*_*rdP 9

使用wrapper下载中提供的内容.目录中有C#样本\Wrapper\FreeImage.NET\cs\Samples.