473,379 Members | 1,926 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,379 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 1192

"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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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...

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.