title: Constructor on type 'Microsoft.Win32.SafeHandles.SafeRegistryHandle' not found
body: <p>After upgrading <a href="http://faxdotnet.codeplex.com" rel="nofollow">Fax.NET</a> project to .NET 4 Client Profile i got this Exception:</p>
  
  <pre><code>MissingMethodException:
  Constructor on type 'Microsoft.Win32.SafeHandles.SafeRegistryHandle' not found.
  </code></pre>
  
  <p>Exception occurred on return statement of this function: </p>
  
  <pre><code>private static SafeHandle CreateRegistrySafeHandle(IntPtr handle)
  {
      Type type;
  
      type = typeof(SafeHandle).Assembly.GetType("Microsoft.Win32.SafeHandles.SafeRegistryHandle");
  
      return (SafeHandle)Activator.CreateInstance(
          type,
          BindingFlags.Instance | BindingFlags.NonPublic,
          null,
          new object[] { handle, true },
          null);
  }
  </code></pre>
  
  <p><strong>What is solution for this exception?</strong> </p>