title: WPF application using CEFSharp Web Browser crashing in clickonce release
body: <p>I have a simple WPF application which works fine in debug but when i do a clickonce release its crashing when trying to load the CEFSharp web browser</p>
  
  <p>I have a login page where the user then clicks open browser once clicked i get the following error </p>
  
  <blockquote>
    <p>An unhandled exception of type
    'System.Windows.Markup.XamlParseException' occurred in
    PresentationFramework.dll</p>
    
    <p>Additional information: The invocation of the constructor on type
    'MyProject.Views.CefSharpWebBrowserUserControl' that matches the
    specified binding constraints threw an exception.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/2ZQum.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2ZQum.png" alt="Xaml Error when creating an instance of the UserControl"></a></p>
  
  <pre><code>&gt; &lt;TabItem Header="Web Page" Name="CefWebPage"&gt;
  &gt;                 &lt;Grid Background="#FFE5E5E5" Margin="0"&gt;
  &gt;                     &lt;Grid.ColumnDefinitions&gt;
  &gt;                         &lt;ColumnDefinition Width="871*"/&gt;
  &gt;                     &lt;/Grid.ColumnDefinitions&gt;
  &gt;                     &lt;views:CefSharpWebBrowserUserControl x:Name="CefSharpWebBrowserUserControl"&gt;&lt;/views:CefSharpWebBrowserUserControl&gt;
  &gt;                 &lt;/Grid&gt;
  &gt;             &lt;/TabItem&gt;
  </code></pre>
  
  <blockquote>
    <p>Exception: Cannot create an instance of "CefSharpWebBrowserUserControl".      </p>
    
    <p>TargetInvocationException: Exceptionhas been thrown by the target of
    an invocation.</p>
    
    <p>FileNotFoundException: Could not load file or assembly 'CefSharp.Core,
    Version=45.0.0.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138' or
    one of its dependencies. The system cannot find the file specified.</p>
  </blockquote>
  
  <p>code behind</p>
  
  <pre><code>    public partial class CefSharpWebBrowserUserControl : UserControl
      {
          public CefSharpWebBrowserUserControl()
          {
              InitializeComponent();
              var settings = new CefSettings();
              settings.PackLoadingDisabled = true;
              WebBrowser = new ChromiumWebBrowser();
              WebBrowser.Address = "www.google.com";
              BrowserGrid.Children.Add(WebBrowser);
          }
  
          public ChromiumWebBrowser WebBrowser { get; set; }
      }
  }
  </code></pre>