471,309 Members | 1,044 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,309 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 1153
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Nathan Sokalski | last post: by
3 posts views Thread by Sheldon Rabin | last post: by
4 posts views Thread by tkpmep | last post: by

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.