Assembly.Load .NET Core : <p>I have an assembly that was dynamically generated using <code>AssemblyBuilder.DefineDynamicAssembly</code>, yet when i try to load it, i get the following error:</p>

<blockquote>
  <p>System.IO.FileNotFoundException: 'Could not load file or assembly 'test, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.'</p>
</blockquote>

<p>This is the full code to reproduce:</p>

<pre><code>var name = new AssemblyName("test");
var assembly = AssemblyBuilder.DefineDynamicAssembly(name, AssemblyBuilderAccess.Run);
var assembly2 = Assembly.Load(name);
</code></pre>

<p>I am using .NET Core 2.0, 2.1 and 2.2.</p>

<p>Can somebody please explain why this happens and any possible solutions?</p>
