title: Trying to use from "Systems.Windows.Forms" so I can read from Clipboard in my C# test App
body: <p>Having a bit of a tough time setting in <strong>Visual Studio 2019</strong> Community Edition for a C# test program the reference to use <code>Windows.System.Forms</code> in order to have access to the class <code>Clipboard</code> so I can set and get text information from the Windows 10 desktop clipboard.</p>
  
  <p>When I go to add the reference, I cannot find <code>Windows.System.Forms</code>, instead I see <code>Windows_System_Forms</code>. I tried to include it as a reference and I got:</p>
  
  <blockquote>
    <p>Warning   MSB3290 Failed to create the wrapper assembly for type library "{215d64d2-031c-33c7-96e3-61794cd1ee61}". Type library 'System_Windows_Forms' was exported from a CLR assembly and cannot be re-imported as a CLR assembly.  </p>
  </blockquote>
  
  <p>How can I include <code>System.Windows.Forms</code> so the code below will work?</p>
  
  <pre><code>[Then(@"validation text is ""(.*)""")]
  public void ThenTestIs(string res)
  {
      // Setup waiting for test selectors to render
      driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(5);
      WebDriverWait wait = new WebDriverWait(driver, new TimeSpan(0, 0, 5));
  
      string xpath = (string)Properties.MflixXpaths.Default["mflix_result"];
      xpath = xpath.Replace("TEST", testName);
  
      driver.FindElement(By.XPath(xpath)).Click();
      string val = Clipboard.GetText();
      Assert.AreEqual(val, res);
  }
  </code></pre>