473,395 Members | 1,441 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Assembly.LoadFile() Suddenly Stops Working

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
Apr 6 '07 #1
0 2491

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Stelios | last post by:
Does anyone know how to dynamically load an assembly from a location other that the working directory by using Assembly load method. It is important to use the specific method because is the method...
1
by: Dani | last post by:
Hi, I have used the static method LOADFILE from class Assembly. I am getting all assembly from file. Then that great, it works. But after that i want to destroy that file, but i can`t do it. There...
1
by: Zachary Hartnett | last post by:
I was trying to write a routine this morning that would open a given assembly, walk the inheritance tree of classes in the assembly, and provide a list of classes in the assembly that inherit from...
1
by: Russ | last post by:
Can anyone please explain what the following means, and how to debug? Everything was working fine and suddenly nothing is working due to this failure. I thought it was due to a DLL mismatch in the...
4
by: Barry Kelly | last post by:
I'm designing an application framework which will, amongst other things, live in an assembly hosted in the ASP.NET worker process, servicing webservice requests. Here's the scenario: APPFX is...
4
by: BrianS | last post by:
What is the best strategy for dynamic loading private assemblies in asp.net? I understand, and have confirmed, that any dll placed in the app's /bin dir will get loaded on startup. This is not...
11
by: Michael Maes | last post by:
Hello, I want to be able to load an assembly by selecting a dll from an OpenFileDialog. This seems to work, exept when that assembly references "3rd-Party dll's". Just this simple line: Dim...
6
by: mookid8000 | last post by:
Hi group! Is it possible to scan an assembly *which has NOT been added as a reference* for types, and dynamically create instances of the loaded types? I have a program, MyProgram.exe, which...
3
by: Kopiad | last post by:
I have two assemblys A and B in folder 1. Assembly A references assembly B. In another folder 2, I have a program C that do a Assmebly.LoadFile(<absolute path to assembly A) and creates an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.