Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You seem to be misunderstanding what <a href="http://msdn.microsoft.com/en-us/library/system.reflection.assembly.load.aspx" rel="nofollow">Assembly.Load</a> does to load the assembly. I guess what you're trying to look for is whether the user has Mono.Cecil in the GAC. The problem is thta only the search paths of the current AppDomain are searched when you supply a partial name, the GAC is only used when you supply the full name. This is documented <a href="http://msdn.microsoft.com/en-us/library/36az8x58.aspx" rel="nofollow">here</a>: </p> <blockquote> <p>Supplying a partial assembly name for assemblyRef is not recommended. (A partial name omits one or more of culture, version, or public key token. For overloads that take a string instead of an AssemblyName object, "MyAssembly, Version=1.0.0.0" is an example of a partial name and "MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=18ab3442da84b47" is an example of a full name.) Using partial names has a negative effect on performance. In addition, a partial assembly name can load an assembly from the global assembly cache only if there is an exact copy of the assembly in the application base directory (BaseDirectory or AppDomainSetup.ApplicationBase).</p> </blockquote> <p>More information on how the CLR Probes for Assemblies can be found here: <a href="http://msdn.microsoft.com/en-us/library/aa720133.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa720133.aspx</a></p> <p>This is exactly why <a href="http://msdn.microsoft.com/en-us/library/12xc5368.aspx" rel="nofollow">Assembly.LoadWithPartialName()</a> exists, but it has been deprecated. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload