views:

30

answers:

2

I have a ASP.NET project which relies upon the FreeImage .NET wrapper. This is loaded using a reference to a external directory. The wrapper relies upon the FreeImage.dll being present to work (clearly).

How do I get Visual Studio to include a reference to the FreeImage dll. It's not a .NET assembly, i think it was built in something else (so I can't add it as a reference).

I don't really want to have a copy for this project as these files reside in a different SVN repository

A: 

I am assuming the .dll was built using a .NET supported language like C#.

You can just right click over the site and select 'Add Reference'.

Browse to the .dll you are looking for and then click 'Ok' to add it.

It should add a .refresh file to your site and the dll. The .refresh file is what is checked into your source control letting the site know the relative location of the .dll to the site.

David Basarab
sorry for not being clear, it isn't a assembly and so can't be added in this manner
Gordon Carpenter-Thompson
+1  A: 

Add a pre-build macro/script to copy the file across each time you build. There's no way to add a symbolic link into a visstudio afaik.

Bez