Can't link managed .dll

res63661

Newcomer
Joined
May 27, 2003
Messages
2
Hey, I am trying to build a simple, managed dll and then reference it from a console style project in vc++ 2k2. Both projects are in the same solution. I've set up the correct dependency order, and the project compiles beautifully. When I hit f5, all libraries load fine until I get to the project's main library which fails with
"An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.

Additional information: File or assembly name c5, or one of its dependencies, was not found."

I have tried to setup my linker to add the path to the librarie's assembly file but I still get the error. What gives? Is there some special path variable to set for managed .dll includes?
 
Thanks mutant - I put it in the /debug folder (closest thing to a bin folder I could find) and it worked. If I reroute the output of the dll project to this folder it works nicely and I don't have to keep moving the file. Strange though - seems like it should work if I add the original output directory to the linker's search path but that didn't work?!
 
Back
Top