Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / November 2006

Tip: Looking for answers? Try searching our database.

References not updating

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Miller - 23 Nov 2006 18:52 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.