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

Not getting latest on DLL?

I have a DLL "file" reference in my project. The DLL has been updated.
I recompile my project but it does not see the DLL updates. I remove
and add back the DLL. Now I can see the updates.

This is a random thing. Sometimes the updates come through without my
having to remove/add the DLL. I'm using VS 2003. Any ideas on why
this happens?

Thanks,
Brett

Jan 21 '06 #1
6 1213
Its about how you reference the dll. Add the reference by browsing to the
dll on the projects tab and VS.net should expect it to update.
It should always compile fine but I expect you are just experiencing issue
with intellisense.

Ciaran
"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
I have a DLL "file" reference in my project. The DLL has been updated.
I recompile my project but it does not see the DLL updates. I remove
and add back the DLL. Now I can see the updates.

This is a random thing. Sometimes the updates come through without my
having to remove/add the DLL. I'm using VS 2003. Any ideas on why
this happens?

Thanks,
Brett

Jan 21 '06 #2
I believe you are right about the issue being intellisense. Is there a
way to fix this when it occurs?

Thanks,
Brett

Jan 21 '06 #3
Brett,

Highlight the reference, and set the "Copy Local" property to false.
This should tell the IDE to not copy the dll locally and use that as a
reference (instead, pointing to your dll).

Of course, you probably will have to reload the project, or re-add the
dll if you compile the other dll and make changes.

In this case, you should really just add that project to your solution
and then set the reference to that project, instead of the dll itself.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
I have a DLL "file" reference in my project. The DLL has been updated.
I recompile my project but it does not see the DLL updates. I remove
and add back the DLL. Now I can see the updates.

This is a random thing. Sometimes the updates come through without my
having to remove/add the DLL. I'm using VS 2003. Any ideas on why
this happens?

Thanks,
Brett

Jan 21 '06 #4
What is the difference in including the DLL as a project? Will it at
that point just compile all the DLLs into the main project as one DLL?

Thanks,
Brett

Jan 21 '06 #5
Brett,

No, rather, it will know that the project you referenced is a dependency
of your project. That way, if something changes, the reference updates
accordingly.

A solution is a set of projects, with multiple outputs, not just one
output.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Brett Romero" <ac*****@cygen.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
What is the difference in including the DLL as a project? Will it at
that point just compile all the DLLs into the main project as one DLL?

Thanks,
Brett

Jan 21 '06 #6
I'm trying to avoid having to include other projects into my project.
The point is to use stand alone DLLs and allow people to develop only
their project with out worrying about other projects. Once an updated
DLL is released, you get it and the PDB, rebuild your project and you
have the latest and greatest. The method your describing is more time
consuming and complicated. You'll have to setup local VSS maps,
integrate the projects into VSS and start doing get latest. The way it
is done now, you just get the latest DLL and rebuild one project.

Brett

Jan 21 '06 #7

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

Similar topics

4
by: Mxsmanic | last post by:
The require() I'm using in a PHP script has stopped working after I moved from PHP4 and Apache 1.3.x to PHP5 and Apache 2.x. Now I get messages like this: Warning:...
0
by: shawnk | last post by:
I downloaded and installed the new SQL Server Express Manager tool but it had problems with the latest 'released version of .NET (version I have is 2.0.40607). I looked on MSDN websites but did...
5
by: Nathan Sokalski | last post by:
I have a user control that contains three variables which are accessed through public properties. They are declared immediately below the "Web Form Designer Generated Code" section. Every time an...
5
by: alanspamenglefield | last post by:
Hello group, I have an SQL statement which pulls data from a table as follows: " SELECT tblSites.sites_siteno, " & _ " tblSites.sites_sitename, " & _ " Sum(tblStockResults.stkr_result) AS...
3
by: Sheldon Rabin | last post by:
Thanks in advance to all of you, Your recommendations: What kind of instruction and software are needed to learn and do useful programming using C+, C++ ? I would like to access and use the...
1
by: Alan | last post by:
Hello World: I have a new task at work. I have to process a mainframe report (a text file), and put it into an Access 2003 database. When I get the report, it looks like this: Account Sub_Name...
8
by: narpet | last post by:
Hello all... I'm having a problem getting a query to work. As a matter of fact I can't even seem to get a good start. I have a table with the following example data ID# PRE_ID# ...
6
by: piyushdabomb | last post by:
Hi All, Currently, I have a SQL query where I need to grab the SECOND latest date by group. COMPONENTID COMPLETIONDATE CBT_HAZCOM 02/26/2007 15:17:00 CBT_HAZCOM 07/31/2007 21:23:00 QS ...
4
by: tkpmep | last post by:
I've just bought an iMac (OS X 10.5.2, will almost immediately jump to 10.5.3), and am looking to install Python on it, and to use it with XCode, Apple's IDE. Some googling suggests that a number...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.