title: Microsoft Edge WebView2 - Error: The type or namespace name 'Web' does not exist in the namespace 'Microsoft'
body: <p>I'm working on this official tutorial: <a href="https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/wpf" rel="nofollow noreferrer">Getting started with WebView2 in WPF (Preview)</a>.</p>
  <ol>
  <li>Have installed <code>Microsoft Edge (Chromium) Canary channel</code> on my <code>Windows 10 pro -ver 1903</code>.</li>
  <li>Have created a <code>.NET Core 3.1 - WPF</code> project on latest version <code>VS2019 - ver16.6.3</code>.</li>
  <li>Have installed the Nuget package  <a href="https://www.nuget.org/packages/Microsoft.Web.WebView2" rel="nofollow noreferrer">Microsoft.Web.WebView2 -Version 0.9.538</a>.</li>
  </ol>
  <p>But, per instructions in <a href="https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/wpf#step-3---create-a-single-webview-in-mainwindowxaml" rel="nofollow noreferrer">step 3</a> of the tutorial, when I add namespace <code>xmlns:wv2=&quot;clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf&quot;</code> in <code>&lt;Window/&gt;</code> tag of <code>MainWindow.xaml</code>, and build (F5) the app, I get the following error at line <code>using Microsoft.Web.WebView2.Wpf;</code> of the <code>MainWindow.g.cs</code> file:</p>
  <p><strong>Error</strong>:</p>
  <blockquote>
  <blockquote>
  <p>Error CS0234  The type or namespace name 'Web' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)</p>
  </blockquote>
  </blockquote>
  <p><strong>MainWindow.xaml</strong>:</p>
  <pre><code>&lt;Window x:Class=&quot;WpfWebView2TEST.MainWindow&quot;
          xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
          xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
          xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot;
          xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
          xmlns:wv2=&quot;clr-namespace:Microsoft.Web.WebView2.Wpf;assembly=Microsoft.Web.WebView2.Wpf&quot;
          mc:Ignorable=&quot;d&quot;
          Title=&quot;MainWindow&quot; Height=&quot;450&quot; Width=&quot;800&quot;&gt;
      &lt;Grid&gt;
          
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  <p><strong>Question</strong>: What may be a cause of the error and how can it be resoled?</p>