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 / December 2004

Tip: Looking for answers? Try searching our database.

Assembly.Load() with strong name but no version!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
edge - 11 Dec 2004 07:49 GMT
Is there any way to Assembly.Load() dynamically the DLLs of my project, with
their strong names, but without the need to specify a version? I just want
the public/private key to exist as a measure of safety for their
authenticity. I don't want to narrow down the valid DLLs to only those that
share the same version.

Because if later i decide to upgrade a DLL, I'll have to recompile and send
to the customer the WHOLE project, and not just the newer DLL, because its
version will differ from the others...

Thanks!
Bruce Johnson - 12 Dec 2004 05:19 GMT
You might want to take a look at the bindingRedirect tag in the
dependentAssembly section of app.config.  It allows you to change the
version of a particular assembly that the CLR looks for when executing
an application.  I suspect this is exactly what you're looking for.

Bruce Johnson [.NET MVP]
http://www.objectsharp.com/blogs/bruce
Dino Chiesa [Microsoft] - 13 Dec 2004 18:12 GMT
yep, your installer can copy the DLL in, and modify the settings in
app.config to specify the new version.

> You might want to take a look at the bindingRedirect tag in the
> dependentAssembly section of app.config.  It allows you to change the
[quoted text clipped - 6 lines]
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

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.