title: UnitTestIsolationException: Throws Exception while running Shims test in Release/Debug mode
body: <p>I am trying to run this unit test using Microsoft Shims, but it throws me exception in <code>Shims.Context.Create();</code> method. </p>
  
  <p><strong>Environment:</strong> VS 2012, Win2K8 R2</p>
  
  <pre><code>namespace MyShimsUnitTest
  {
      [TestClass]
      public class MyUnitTest
      {
          [TestMethod]
          public void GetCurrentYear()
          {
              using (Microsoft.QualityTools.Testing.Fakes.ShimsContext.Create())
              {
                  // Some Logic...
              }
          }
  
      }
  }
  </code></pre>
  
  <p><strong>Detailed Exception:</strong></p>
  
  <pre><code>Result Message: 
  Test method MyShimsUnitTest.MyUnitTest.GetCurrentYear threw exception: 
  Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException: UnitTestIsolation instrumentation failed to initialize. Please restart Visual Studio and rerun this test
  Result StackTrace:  
  at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationRuntime.InitializeUnitTestIsolationInstrumentationProvider()
     at Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.CreateContext()
     at Microsoft.QualityTools.Testing.Fakes.ShimsContext.Create()
     at MyShimsUnitTest.MyUnitTest.GetCurrentYear()
  </code></pre>