title: GAC Assembly version to use based on Web.Config
body: <p>Good Day</p>
  
  <p>I have a project that makes use of custom assemblies in the GAC:
  To be able to use that, I added a Reference to my project in </p>
  
  <pre><code>C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\JOHN.CommonLib\v4.0_1.0.0.0__9cd884563ebafb62\JOHN.CommonLib.dll
  </code></pre>
  
  <p>(CopyLocal=False; SpecificVersion=False)
  Also, i added this in the Web.Config file</p>
  
  <pre><code>&lt;compilation debug="false" strict="true" explicit="true" targetFramework="4.0" &gt;
    &lt;assemblies&gt;
      &lt;add assembly="JOHN.CommonLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9cd884563ebafb62"/&gt;        
    &lt;/assemblies &gt;
  &lt;/compilation &gt;
  </code></pre>
  
  <p>It's running as expected. The problem is when i install a new <strong>version</strong>
  I install a new version to the GAC, and change the Web.Config accordingly</p>
  
  <pre><code>&lt;add assembly="JOHN.CommonLib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=9cd884563ebafb62"/&gt;
  </code></pre>
  
  <p>JOHN.CommonLib is a tester Class Library that returns either "1.0" or "2.0" depending on the version. </p>
  
  <p>Issue: If I compile using 1.0, the webapps that make use of it always shows "1.0" even if i change the Web.Config between 1.0 and 2.0
  I would like my web app to use the version that i write in my Web.Config</p>
  
  <p>Any ideas?
  I also stop and start the AppPool in between changing the Web.Config.</p>