473,414 Members | 1,936 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,414 software developers and data experts.

Debugging assemblies: Forcing EXE to reload DLL

_D
When debugging an assembly, obviously a startup Exe file must be set.
I've run into a snag once in a while that appears to be caused by VS
referring to the Exe's *local* copy of the target DLL rather than the
one that has just been recompiled.

Is there an recommended method for ensuring that a newly compiled DLL
also gets copied over the DLL in the startup Exe's folder?
Jan 8 '06 #1
1 3134
_D wrote:
When debugging an assembly, obviously a startup Exe file must be set.
I've run into a snag once in a while that appears to be caused by VS
referring to the Exe's *local* copy of the target DLL rather than the
one that has just been recompiled.

Is there an recommended method for ensuring that a newly compiled DLL
also gets copied over the DLL in the startup Exe's folder?


Questions:
1. is the project for the dll in the same solution as the exe project?
2. if it is, did you add a reference to the project or to the dll?

If the answer to #1 is "yes" and to #2 is "to the dll", try adding a
reference to the project instead, this will ensure VS copies the fresh
dll to the output directory for the exe project.

Other than that I don't know why that should happen.

--
Lasse Vågsæther Karlsen
http://usinglvkblog.blogspot.com/
mailto:la***@vkarlsen.no
PGP KeyID: 0x2A42A1C2
Jan 9 '06 #2

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

Similar topics

0
by: Saira | last post by:
Hi all I have had an add-in that has references to several assemblies running smoothly for some time. recently i have lost the ability to debug it. When the solution starts, the symbols do not...
2
by: John Gibson | last post by:
Hi, all. Re: version 7.2.2 I modified the postgresql.conf file as below and got "really neat" debugging turned on. :) pg_ctl reload -D <dir> Unfortunately after I was done, I wanted to...
1
by: cadancer | last post by:
Hi, all. Re: 7.2.2 I modified the postgresql.conf file to enable some debugging. I then did pg_ctl reload -D "blah". That got the debugging started. But when I tried to turn it off, it...
9
by: Invalidlastname | last post by:
Hi, We developed some assemblies which use EnterpriseServices queued components. In order to use EnterpriseServices, these assemblies need to be installed into GAC. I used the pre-build and...
4
by: WAZOO | last post by:
Sorry if this is obvious to everyone (except me). I've done a Google search and I'm not seeing anything encouraging that addresses my issue. My very large multispecialty medical practice needs...
6
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
9
by: Notre Poubelle | last post by:
Hello, I know tools like Lutz Roeder's Reflector can be used to disassemble an assembly into any number of .NET languages and this is invaluable for debugging 3rd party (e.g. Microsoft)...
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
1
by: vogt | last post by:
Hello, since this week I have a problem debugging string named local (bin folder) assemblies in a dll project which is actual my web project in VS 2003. The lines displayed while debugging do...
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
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.