I am referencing another dll from within a class library and it seems to
allways be looking for an older build version of the reference. I have tried
removing and re-adding the reference but to no avail. Originally I was
referencing the dll and so tried adding the project and referencing that but
still no luck. Any ideas? If I use reflector on the assembly it tells me
the reference is the correct version, but I get an excpetion when executing
that it can not find version x (the old version) Any ideas greatly
appreciated!
Many Thanks,
Paul
Michael Nemtsev - 23 Nov 2006 20:24 GMT
Hello Paul,
PM> I am referencing another dll from within a class library and it
PM> seems to allways be looking for an older build version of the
PM> reference.
How did u find out that u reference to the old dll?
PM> I have tried removing and re-adding the reference but to
PM> no avail. Originally I was referencing the dll and so tried adding
PM> the project and referencing that but still no luck. Any ideas? If
PM> I use reflector on the assembly it tells me the reference is the
PM> correct version, but I get an excpetion when executing that it can
PM> not find version x (the old version)
What's the exeptions details?
Are u sure that you didn't change the path (in the config )of the assemblies
probing, and your dll is on the right place?
PM> Any ideas greatly appreciated!
Change if you have any old version of referenced assembly into GAC
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Prester John - 24 Nov 2006 07:48 GMT
I suspect you are using VS 2003... Change the assembly version in the
AssemblyInfo.vb file to be fixed (1.0.0.2, e.g.) instead of wild carded
sections (*'s).
HTH,
Prester John
>I am referencing another dll from within a class library and it seems to
> allways be looking for an older build version of the reference. I have
[quoted text clipped - 11 lines]
>
> Paul