DLL Reference problem

  • Thread starter Thread starter thebenb
  • Start date Start date
T

thebenb

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?
 
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.
 
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.
 
Back
Top