title: WebHost doesn't exist in the current context in Asp Net Core 2.2 default API template
body: <p>I'm learning .net core and started with .net core 2.2</p>
  
  <p>I'm following this tutorial. <a href="https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-2.2&amp;tabs=visual-studio" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api?view=aspnetcore-2.2&amp;tabs=visual-studio</a></p>
  
  <p>I did below.</p>
  
  <p>-> Created New ASP.NET Core Web Application project and selected API template with Asp.NET core 2.2 version
  -> Build the application</p>
  
  <p>There is a build error with the default application created. </p>
  
  <p>The error is "The name WebHost doesn't exist in the current context."</p>
  
  <p>I haven't made any changes to the code yet and the namespace Microsoft.AspNetCore; is present in the using statement.</p>
  
  <p>I'm not sure what i'm missing here. Can you please help?</p>