title: Adding a Usercontrol with CefSharp to a WinForms app
body: <p>I'm trying to create a user control with a CefSharp to be able to have a web browser with custom properties. The control works fine except when I try to add the control to a WebForms app with the Graphic Designer, every time I try to add the control graphically I get the same error:</p>
  
  <p><em>Failed to create the component 'MyComponent'</em></p>
  
  <pre><code>System.IO.FilenotFoundException: Could not load file or assembly 'CefSharp.Core, Version=65.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxx' or one of its dependencies. the system cannot find the file specified.
  </code></pre>
  
  <p>I have the CefSharp.Core added as a reference on both the Usercontrol and the WebFormsApp. </p>
  
  <p>(Note that the control works if it is added programmatically.)</p>
  
  <p>Anyone know what I'm missing?</p>
  
  <p>Edit 1:</p>
  
  <p>Here is the code of the user control that I have created:</p>
  
  <pre><code>using System;
  using System.Windows.Forms;
  using CefSharp.WinForms;
  using CefSharp;
  
  namespace ControlTest
  {
      public partial class UserControl1: UserControl
      {
          public ChromiumWebBrowser browser;
          public UserControl1()
          {
              InitializeComponent();
          }
  
          private void UserControl1_Load(object sender, EventArgs e)
          {
              CefSettings settings = new CefSettings();
              Cef.Initialize();
              browser = new ChromiumWebBrowser("www.google.com");
              this.panel1.Controls.Add(browser);
          }
      }
  }
  </code></pre>