Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - DLL Reference problem

Reply
 
Old 10-14-2008   #1 (permalink)
thebenb


 
 

DLL Reference problem

I've got this very frustrating problem that I can't seem to nail.
Hopefully someone out there can help me.

I've got a toolkit class library project that has some handy helper
classes in. I add the DLL as a reference to my other projects. So far
so good.

I've recently updated the toolkit, but my projects won't recognise the
change - new methods that I've added to the toolkit are not showing up
in the referencing project.

I've tried removing the reference and re-adding it, and I've even
tried adding the toolkit into the solution and making it a project
reference rather than a DLL reference. Nothing seems to work, it's as
if VS is using a cached copy of the DLL.

If I update the version of the toolkit, the reference in the other
project shows this new version number, yet the methods are still the
old ones.

Any ideas?

My System SpecsSystem Spec
Old 10-15-2008   #2 (permalink)
behdad


 
 

Re: DLL Reference problem

In the property view set the "Locak Copy" of the refrence to "True",
then try to remove the dll file in your app folder and copy the new
one again.
My System SpecsSystem Spec
Old 10-22-2008   #3 (permalink)
benb


 
 

Re: DLL Reference problem

On Oct 15, 8:33*am, behdad <bani...@xxxxxx> wrote:
Quote:

> In the property view set the "Locak Copy" of the refrence to "True",
> then try to remove the dll file in your app folder and copy the new
> one again.
Hi

Yes, I tried that. I eventually worked it out. I had another project
in the solution that didn't reference the new version of the DLL. The
intellisense was getting confused between the 2 different copies. I
updated that, and it was all fine.

Thanks.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Useful Reference lists Vista ready, not ready, problem hardware, software,what's been tested Vista General
Useful Reference lists Vista ready, not ready, problem hardware, software,what's been tested Vista installation & setup
Best reference for .NET for use with PS PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46