PC Review


Reply
Thread Tools Rate Thread

Assembly loading question

 
 
David zhu
Guest
Posts: n/a
 
      19th Jul 2004
I'm confused that if only the strong named assembly can't
be loaded successfully for different AssemblyVersion, or
it works on every assembly?
 
Reply With Quote
 
 
 
 
Dmitriy Lapshin [C# / .NET MVP]
Guest
Posts: n/a
 
      20th Jul 2004
Hello David,

I believe it depends on the assembly name components you specify in your
request to load the assembly. If you omit the version, I think the runtime
will be happy with any version given the supplied assembly name components
(such as the public key token and the culture) match. However, I am not sure
any assembly name component can be omitted.

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

"David zhu" <(E-Mail Removed)> wrote in message
news:2e86a01c46d54$2e96ed20$(E-Mail Removed)...
> I'm confused that if only the strong named assembly can't
> be loaded successfully for different AssemblyVersion, or
> it works on every assembly?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems loading assembly using System.Reflection.assembly TheVillageCodingIdiot Microsoft VB .NET 0 16th Jul 2009 05:32 PM
Problems loading assembly using System.Reflection.assembly TheVillageCodingIdiot Microsoft Dot NET Framework 1 15th Jul 2009 07:34 PM
Assembly.LoadFrom loading a .net 2.0 assembly from a 1.1 app Jeremy Chapman Microsoft Dot NET Framework 1 27th Jun 2006 11:19 PM
Get Assembly Type Names Without Loading The Assembly Neo Microsoft Dot NET 11 25th Oct 2005 10:54 PM
Cannot CreateInstance of Assembly after loading it with Assembly.Load(byte[]) Dmitriy Krasnikov Microsoft Dot NET Framework 3 11th May 2004 07:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:13 PM.