title: Name does not exist in the current context
body: <p>So, I'm working on this project between my laptop and my desktop.</p>
  
  <p>The project works on the laptop, but now having copied the updated source code onto the desktop, I have over 500 errors in the project, all of them are...</p>
  
  <blockquote>
    <p>The name  does not exist in the current context</p>
  </blockquote>
  
  <p>Here's one example...</p>
  
  <p><strong>Jobs.aspx</strong>  </p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/Members/Members.master" AutoEventWireup="true" CodeFile="Jobs.aspx.cs" Inherits="Members_Jobs" %&gt;
  
  &lt;%@ Register Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" TagPrefix="aj" %&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"&gt;
      &lt;asp:UpdatePanel runat="server" ID="upJobs"&gt;
          &lt;ContentTemplate&gt;
              &lt;!-- page content goes here --&gt;
          &lt;/ContentTemplate&gt;
      &lt;/asp:UpdatePanel&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p><strong>Jobs.aspx.cs</strong>  </p>
  
  <pre><code>public partial class Members_Jobs : System.Web.UI.Page
  {
      protected void Page_Load(object sender, EventArgs e)
      {
          if (!IsPostBack)
          {
              loadJobs();
              gvItems.Visible = false;
              loadComplexes();
              loadBusinesses();
              loadSubcontractors();
              loadInsurers();
  
              pnlCallback.Visible = false;
              pnlInsurer.Visible = false;
          }
      }
  
      // more goes down here
  }
  </code></pre>
  
  <p>Here's a sample of the designer.cs file...</p>
  
  <pre><code>namespace stman.Members {
  
  
      public partial class Jobs {
  
          /// &lt;summary&gt;
          /// upJobs control.
          /// &lt;/summary&gt;
          /// &lt;remarks&gt;
          /// Auto-generated field.
          /// To modify move field declaration from designer file to code-behind file.
          /// &lt;/remarks&gt;
          protected global::System.Web.UI.UpdatePanel upJobs;
      }
  }
  </code></pre>
  
  <p>I know this error means that the control being referenced generally doesn't exist or is not a part of the class that's referencing it, but as far as I can see, that isn't the case here.</p>
  
  <p>Can anyone provide some insight?</p>
  
  <p><img src="https://i.stack.imgur.com/azFen.png" alt="VS2012 Screenshot"></p>