<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx</link><description>An assembly display name should include the assembly simple name, version, culture and public key token. The assembly simple name is usually the file name of the assembly without the extension (“.dll” or “.exe”). For example, the assembly display name</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>RE: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#57138</link><pubDate>Sun, 29 Jun 2003 08:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:57138</guid><dc:creator>Linda Dai</dc:creator><description>It is great to read your blogs. It is very informational! Thanks for your effort.

Could you please say something more about canonicalizing process in Fusion? 

Thanks,
--L.</description></item><item><title>RE: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#57139</link><pubDate>Tue, 01 Jul 2003 06:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:57139</guid><dc:creator>Suzanne</dc:creator><description>Thanks! What exactly would you like to know about the canonicalizing process? Mscorlib.dll's APIs that return an assembly display name should all give the official, canonicalized one. Basically, Fusion pastes together the different components in the official, 'good' way, filtering out inappropriate stuff.</description></item><item><title>RE: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#57140</link><pubDate>Wed, 23 Jul 2003 12:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:57140</guid><dc:creator>Dave</dc:creator><description>Is there a method that will take as arguments the difrerent components of an assembly  name and return the displayname? And is there one that will do the inverse operation?  This will help in handling AssemblyResolve events where we want to change one or more components of the assembly display name to a different form of it (e.g. changing a version number or culture).

Thanks. And keep blogging

Dave
</description></item><item><title>RE: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#57141</link><pubDate>Thu, 24 Jul 2003 07:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:57141</guid><dc:creator>Dave</dc:creator><description>Is there a method that will take as arguments the difrerent components of an assembly  name and return the displayname? And is there one that will do the inverse operation?  This will help in handling AssemblyResolve events where we want to change one or more components of the assembly display name to a different form of it (e.g. changing a version number or culture).

Thanks. And keep blogging

Dave
</description></item><item><title>RE: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#57142</link><pubDate>Wed, 30 Jul 2003 03:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:57142</guid><dc:creator>Suzanne</dc:creator><description>Yes, set those properties on an AssemblyName object, and then get its FullName property. Going the other direction is supported starting in v2.0 - the AssemblyName(String) constructor takes an assembly display name, and then the resulting AssemblyName will have the parsed properties.</description></item><item><title>Binding to .NET Frameworks Assemblies</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#72774</link><pubDate>Sat, 14 Feb 2004 03:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:72774</guid><dc:creator>Suzanne Cook's .NET CLR Loader Notes</dc:creator><description /></item><item><title>Assembly Identity</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#72779</link><pubDate>Sat, 14 Feb 2004 03:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:72779</guid><dc:creator>Suzanne Cook's .NET CLR Loader Notes</dc:creator><description /></item><item><title>Switching to the Load Context</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#72786</link><pubDate>Sat, 14 Feb 2004 03:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:72786</guid><dc:creator>Suzanne Cook's .NET CLR Loader Notes</dc:creator><description /></item><item><title>Avoid Partial Binds</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#72790</link><pubDate>Sat, 14 Feb 2004 03:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:72790</guid><dc:creator>Suzanne Cook's .NET CLR Loader Notes</dc:creator><description /></item><item><title>Using Type.GetType(typeName)</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#72792</link><pubDate>Sat, 14 Feb 2004 03:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:72792</guid><dc:creator>Suzanne Cook's .NET CLR Loader Notes</dc:creator><description /></item><item><title>re: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#95615</link><pubDate>Wed, 24 Mar 2004 23:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:95615</guid><dc:creator>Mark</dc:creator><description>In .NET 1.0, in which scenarios will Assembly.FullName return a string that doesn't contain version, culture, or publicKeyToken?</description></item><item><title>re: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#101479</link><pubDate>Mon, 29 Mar 2004 23:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:101479</guid><dc:creator>Suzanne</dc:creator><description>In v1.0, there was a race condition where the full string may not have been set, if multiple threads were asking for the same assembly's display name at the same time, if it had not been requested before. (The first thread would get the full string, while threads losing the race may get a string missing one or more of the public key token, culture and version.) This has been fixed in v1.0 SP3, and v1.1 or later.</description></item><item><title>re: Early warning on obsolete members coming in .NET Framework 2.0 (Whidbey)</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#118522</link><pubDate>Fri, 23 Apr 2004 01:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:118522</guid><dc:creator>Brad Abrams </dc:creator><description /></item><item><title>re: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#133191</link><pubDate>Mon, 17 May 2004 14:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:133191</guid><dc:creator>anand mathew</dc:creator><description>I am trying to use the function Assembly.gettype. But my system does not show any such function. Please let me know what is hapening.</description></item><item><title>re: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#147082</link><pubDate>Wed, 02 Jun 2004 21:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:147082</guid><dc:creator>Suzanne</dc:creator><description>It's System.Reflection.Assembly.GetType() in mscorlib.dll, and these are the different overloads, below. See MSDN for more info.&lt;br&gt;&lt;br&gt;        Type GetType(String name)&lt;br&gt;        Type GetType(String name, bool throwOnError)&lt;br&gt;        Type GetType(String name, bool throwOnError, bool ignoreCase)&lt;br&gt;        Type GetType()&lt;br&gt;</description></item><item><title>Assembly.Load(AssemblyName)</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#208238</link><pubDate>Wed, 04 Aug 2004 23:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:208238</guid><dc:creator>Suzanne Cook's .NET CLR Loader Notes</dc:creator><description /></item><item><title>LoadFrom's Second Bind</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#217863</link><pubDate>Fri, 20 Aug 2004 21:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:217863</guid><dc:creator>Suzanne Cook's .NET CLR Loader Notes</dc:creator><description /></item><item><title>Versioning/Deploying Unmanaged Files</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#249283</link><pubDate>Fri, 29 Oct 2004 00:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:249283</guid><dc:creator>Suzanne Cook's .NET CLR Loader Notes</dc:creator><description /></item><item><title>re: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#409978</link><pubDate>Wed, 20 Apr 2005 12:16:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:409978</guid><dc:creator>dirk</dc:creator><description>Sorry Suzanne,&lt;br&gt;I think the whole assembly concept of .NET sucks. I spend hours trying to load a stupid assembly after I have completed all the hard work in coding it. I just keep getting Exceptions concerning security access (after having given the ASP.NET User full access to the relevent directory). In the end I give up and write elaborate switch statements because I cannot run Type.GetType(classname) successfully. &lt;br&gt;This just messes up the whole point of Reflection. Why make security so complex that programmers spend more time trying to evade it than dealing with it, because it is so confusing?&lt;br&gt;Windows and .NET security derail the joy of coding with .NET. They are such a headache!</description></item><item><title>re: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#583881</link><pubDate>Wed, 26 Apr 2006 09:52:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:583881</guid><dc:creator>Nicole</dc:creator><description>hi i love u&lt;br&gt;</description></item><item><title>Assembly.Load(byte[] bytes)</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#603656</link><pubDate>Mon, 22 May 2006 11:36:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:603656</guid><dc:creator>Daniel Moldovan</dc:creator><description>I'm generating an assembly using CSharpCodeProvider compile method. I use in my code, in another project (not using reflection) Types from this generated assembly. In this second project I'm loading the generated assembly unsing Assembly.Load(byte[] bytes) method. But when the code want to load Types from this assembly .net tries to load again the generated assembly from the file system. Why? This assembly is already loaded by the previous call to Assembly.Load(). Can anybody help me?&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Daniel</description></item><item><title>Versioning/Deploying Unmanaged Files</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#2104965</link><pubDate>Fri, 13 Apr 2007 01:45:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2104965</guid><dc:creator>Suzanne Cook's .NET CLR Notes</dc:creator><description>&lt;p&gt;An unmanaged dll can be wrapped in a managed assembly by adding it as a file of a multi-module assembly.&lt;/p&gt;
</description></item><item><title>Load(AssemblyName)</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#2105042</link><pubDate>Fri, 13 Apr 2007 01:47:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2105042</guid><dc:creator>Suzanne Cook's .NET CLR Notes</dc:creator><description>&lt;p&gt;Calling Load(AssemblyName) is not necessarily the same as calling Load(String). If the AssemblyName.CodeBase&lt;/p&gt;
</description></item><item><title>LoadFrom's Second Bind</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#2105345</link><pubDate>Fri, 13 Apr 2007 02:07:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2105345</guid><dc:creator>Suzanne Cook's .NET CLR Notes</dc:creator><description>&lt;p&gt;Pre-v2, when you load an assembly by path through Fusion (LoadFrom(), ExecuteAssembly(), etc.), it can&lt;/p&gt;
</description></item><item><title>Binding to .NET Frameworks Assemblies</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#2105406</link><pubDate>Fri, 13 Apr 2007 02:12:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2105406</guid><dc:creator>Suzanne Cook's .NET CLR Notes</dc:creator><description>&lt;p&gt;By &amp;quot;Frameworks assemblies,&amp;quot; I mean the assemblies that ship with the CLR. But, I'm not counting mscorlib.dll&lt;/p&gt;
</description></item><item><title>Assembly Identity</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#2106210</link><pubDate>Fri, 13 Apr 2007 03:12:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2106210</guid><dc:creator>Suzanne Cook's .NET CLR Notes</dc:creator><description>&lt;p&gt;There are two types of assembly identity that the loader deals with: bind-time and after bind-time. The&lt;/p&gt;
</description></item><item><title>Switching to the Load Context</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#2106284</link><pubDate>Fri, 13 Apr 2007 03:20:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2106284</guid><dc:creator>Suzanne Cook's .NET CLR Notes</dc:creator><description>&lt;p&gt;So, after checking out the binding context options , you've decided to switch your app to use the Load&lt;/p&gt;
</description></item><item><title>Avoid Partial Binds</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#2106367</link><pubDate>Fri, 13 Apr 2007 03:25:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2106367</guid><dc:creator>Suzanne Cook's .NET CLR Notes</dc:creator><description>&lt;p&gt;A partial bind is when only part of the assembly display name is given when loading an assembly. Assembly.LoadWithPartialName()&lt;/p&gt;
</description></item><item><title>Using Type.GetType(typeName)</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#2106397</link><pubDate>Fri, 13 Apr 2007 03:27:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2106397</guid><dc:creator>Suzanne Cook's .NET CLR Notes</dc:creator><description>&lt;p&gt;If no assembly is specified, Type.GetType() will only look in the calling assembly and then mscorlib.dll&lt;/p&gt;
</description></item><item><title>re: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#3681267</link><pubDate>Wed, 04 Jul 2007 08:19:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3681267</guid><dc:creator>Kevin Burton</dc:creator><description>&lt;P&gt;I have an assembly call it MyAssembly.dll. In it there is a type under the namespace MyCompany.Service.MyServices that is MyService. What is the full CLR type name for this type?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;</description></item><item><title>re: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#9391593</link><pubDate>Tue, 03 Feb 2009 00:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9391593</guid><dc:creator>Ishtiaque Hussain</dc:creator><description>&lt;p&gt;Is there any way (SomeMethod) I can find an assembly's fully qualified name from just it's name given as a string? &lt;/p&gt;
&lt;p&gt;Let me explain my question with an example:&lt;/p&gt;
&lt;p&gt;string DisplayName = &amp;quot;Microsoft.Msagl&amp;quot;;&lt;/p&gt;
&lt;p&gt;string FullyQualifiedName = SomeMethod (DisplayName);&lt;/p&gt;
&lt;p&gt;and FullyQualifiedName would hold:&lt;/p&gt;
&lt;p&gt;&amp;quot;Microsoft.Msagl,Version=1.2.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35&amp;quot;&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item><item><title>re: Assembly Display Names</title><link>http://blogs.msdn.com/suzcook/archive/2003/05/29/assembly-display-names.aspx#9412150</link><pubDate>Wed, 11 Feb 2009 09:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9412150</guid><dc:creator>Ishtiaque Hussain</dc:creator><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;Thanks for posting my feedback. I got a solution to my problem and sharing with you:&lt;/p&gt;
&lt;p&gt;The following code actually finds the fully qualified name, if the file location is provided:&lt;/p&gt;
&lt;p&gt;Assembly asm = Assembly.LoadFrom(&amp;quot;C:\\Program Files\\Microsoft Pex\\bin\\Microsoft.Msagl.dll&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dataflow.BasicBlock(&amp;quot;Microsoft.Msagl.Anchor,&amp;quot; + asm.FullName.ToString());&lt;/p&gt;
&lt;p&gt;The Assembly &amp;quot;asm.FullName&amp;quot; gives the fully qualified name. (Ignore Dataflow.BasicBlock: this some library that I was working on)&lt;/p&gt;
&lt;p&gt;I got this helpful piece code from:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.hanselman.com/blog/OutputAnAssemblyVersionFullyQualifiedNameFromTheCommandLine.aspx"&gt;http://www.hanselman.com/blog/OutputAnAssemblyVersionFullyQualifiedNameFromTheCommandLine.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;--Ishtiaque&lt;/p&gt;</description></item></channel></rss>