Assembly.Load("foo, Version=1.2.3.4, PublicKeyToken=abcd1234abcd1234,
Culture=neutral");It's important to use the fully-specified name (i.e. all four parts). And the thing you're loading must be strongly named (i.e. have a public key). Without a public key, version is totally ignored. With a public key in the assembly and in the reference, version (as modified by version policy) *must* match the thing that gets loaded. > -----Original Message----- > From: Moderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED]] On Behalf Of Dhamayanthi > Sent: Monday, June 10, 2002 9:46 AM > To: [EMAIL PROTECTED] > Subject: [ADVANCED-DOTNET] Versioning concept in .NET component > > > Can we control the version of .NET component > programattically.? Means can I load assembly component by > checking its version.? > > Thanks & Regards, > > Dhamayanthi > > You can read messages from the Advanced DOTNET archive, > unsubscribe from Advanced DOTNET, or subscribe to other > DevelopMentor lists at http://discuss.develop.com. > You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
