Assembly.LoadFile() Suddenly Stops Working

G

Guest

Working in Visual Studio 2005 and C#, I have an application that has an exe
and several dll files in the bin\debug directory.

The code in question looks something like this:

string assemblyFile = "Module.dll";
....
Assembly.LoadFile(assemblyFile);

Up until a couple of hours ago, this worked perfectly in Debug mode. It
STILL works perfectly in Release mode. The error message in debug mode is as
follows:

"Absolute path information is required"

I've got to believe there's a debugging path variable that's somehow the
problem. Any suggestions on checking/setting debug path variables. Anybody
ever see this before? PLEASE PLEASE PLEASE don't respond just to suggest
using the absolute path.

Thanks,
Randy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top