problem with dll's

Sickes

21-12-2007 11:40:13

Hi!

i have a problem with de mogre.dll.

I have a proyect using mogre but the directory of the mogre.dll isn't the executable directory and the function initialise throws me a exception "Could not load file or assembly 'Mogre, Version=0.2.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies."

How can i change the directory where search the mogre.dll?

smernesto

22-12-2007 04:38:55

Well, for my project I always copy all necessary .dll files to my .exe directory, but if you need the .dlls in another place then try to change the reference of Mogre.dll, if you are using Visual Studio when you add a reference to a .net dll you can browse where is the .dll.


Ernesto.