473,404 Members | 2,179 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,404 software developers and data experts.

How to stop updating DLLs?

Say I have four projects - one is an EXE and three are DLLs. The EXE
references all three DLLs. If I update one of the DLLs and compile,
next time I run my EXE project, it will get the latest version of the
changed DLL and use it. How do I keep the EXE project from getting the
latest version of a DLL? I'd like it to use the version in its bin
folder (b/c copy local is true).

Thanks,
Brett

Jan 14 '06 #1
8 1195

"Brett Romero" <ac*****@cygen.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
Say I have four projects - one is an EXE and three are DLLs. The EXE
references all three DLLs. If I update one of the DLLs and compile,
next time I run my EXE project, it will get the latest version of the
changed DLL and use it. How do I keep the EXE project from getting the
latest version of a DLL? I'd like it to use the version in its bin
folder (b/c copy local is true).

Create a \lib folder as a sibling to your exe's .bin folder. Deploy the
..DLL's there and use a binary reference instad of a project reference. Then
the EXE, when built, will copy the version in the \lib folder instead of the
latest version.

David
Jan 14 '06 #2
What do you mean by a binary reference? I don't reference any projects
now. Just the direct DLL. Is that what you are referring to?

Thanks,
Brett

Jan 14 '06 #3

"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
What do you mean by a binary reference? I don't reference any projects
now. Just the direct DLL. Is that what you are referring to?

Yes, by binary reference, I mean a direct reference to an assembly.

David
Jan 14 '06 #4
Brett Romero wrote:
Say I have four projects - one is an EXE and three are DLLs. The EXE
references all three DLLs. If I update one of the DLLs and compile,
next time I run my EXE project, it will get the latest version of the
changed DLL and use it. How do I keep the EXE project from getting the
latest version of a DLL? I'd like it to use the version in its bin
folder (b/c copy local is true).

Thanks,
Brett


Change your build so that the dlls don't build. Then when you want a
specific dll updated just go into properties again and check which one
you want to build.

You can also set up different builds like a "Debug (no dlls)" - just
copy the debug build and remove the check next to the three dll projects.

--
Benny Raymond
http://bloatedcowsoftware.com
Jan 14 '06 #5
Thanks about the different builds. I didn't know of those. That's
basically build profiles?

Is there a way to create a build, save it, and give it to your co
worker that is using the same project? Then he builds for only the
items you have selected but doesn't have to worry about creating the
build setup or forgetting to.

Thanks,
Brett

Jan 14 '06 #6
These options for DLLs don't exists. They only exists for projects.

Brett

Jan 17 '06 #7
Brett Romero wrote:
These options for DLLs don't exists. They only exists for projects.

Brett

Ahh... I thought you were building the dlls as seperate projects within
a larger solution. That's how I handle all of my dlls.

--
Benny Raymond
http://bloatedcowsoftware.com
Jan 18 '06 #8
If you don't have the particular project or want a DLL reference, the
only options to to copy local true/false, which doesn't really seem to
do anything.

Brett

Jan 18 '06 #9

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

Similar topics

2
by: Chan | last post by:
If i call invalidate() two times, how can I stop the process for some time between them? that is, do updating ----> invalidate() -->do updating----> pause--> invalidate() I update my data in my...
3
by: Joseph George | last post by:
Hi, I'm looking for some documentation on how to painlessly update an asp.net website (DLLs and/or web.config) in a windows 2003 web farm with minimum impact to the end users. Is this possible...
4
by: cmay | last post by:
Maybe someone can give an idea of why I am having this problem before I put my fist through the computer screen. My problem goes like this.... Lets say I keep my DLLs in a folder called...
1
by: ScottL | last post by:
Hello, I have a asp.net Visual Basic web solution with 3 projects: A user interface project (ProjectUI), a Business Object Layer project (ProjectBOL) and a Data Access Layer Project...
3
by: Roger Withnell | last post by:
I have a framed website. I plan to include in default.asp a routine to check if the annual subscription is due from the records in the People table. If so, then the routine would send emails...
1
by: Coder | last post by:
After updating to VS2005 we noticed that references are not always updating our bin directory in the case of indirect references. For example: PROJECT 1 PROJECT 2 (ref project1) PROJECT 3...
0
by: AJang | last post by:
I write a windows form application. In this application, I perform some operation on each file of a directory. For monitoring , I update one TextBox control's Text with the filename which is being...
0
by: Echo | last post by:
Hi All: Does somebody know why everytime when we update our website, if there is DLLs involved(we are running VS 2003, .net Framework 1.1, the DLLs is for project or referenced external DLLs,...
12
by: Birky | last post by:
How can I stop a form from updating the database when a user closes the form? I have a form which is used for referencing, additions, and modifications but every time the form is closed with no...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...

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.