title: Visual Studio 2019 Web Application - Cannot Find Type WebApplication1.MvcApplication
body: <p>I have a web application that i have downloaded from bitbucket that was created by another company who have handed it off to me. </p>
  
  <p>The site is running live online now, however i cannot run the application locally due to this error message:</p>
  
  <p>Cannot find type WebApplication1.MvcApplication.</p>
  
  <p>The Global.asax file is:</p>
  
  <pre><code>&lt;%@ Application Codebehind="Global.asax.cs" Inherits="WebApplication1.MvcApplication" Language="C#" %&gt;
  </code></pre>
  
  <p>The Global.asax.cs file is:</p>
  
  <pre><code>using System.Web.Mvc;
  using System.Web.Optimization;
  using System.Web.Routing;
  
  namespace WebApplication1
  {
      public class MvcApplication : System.Web.HttpApplication
      {
          protected void Application_Start()
          {
              AreaRegistration.RegisterAllAreas();
              FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
              RouteConfig.RegisterRoutes(RouteTable.Routes);
              BundleConfig.RegisterBundles(BundleTable.Bundles);
          }
      }
  }
  </code></pre>
  
  <p>Also the output path is set to bin/</p>
  
  <p>The error doesn't seem to be with the code but visual studio locating the file global.asax.cs?</p>
  
  <p>Any help would be great.</p>