title: ASP.NET Parser Error Message: Could not load type 'search'. after copying files from another project
body: <p>I have a working website website project in visual studio.
  I can view all pages without a problem.</p>
  
  <p>Now I copied 2 files from another Web Application Project I have:
  search.aspx
  search.aspx.vb</p>
  
  <p><strong>search.aspx source snippet</strong></p>
  
  <pre><code>&lt;%@ Page EnableViewState="true" EnableEventValidation="false" MetaDescription="&lt;%$Resources:metadescription%&gt;" Title="&lt;%$Resources:pagetitle %&gt;" Language="VB" MasterPageFile="~/main.master" AutoEventWireup="false" Inherits="search" Codebehind="search.aspx.vb" %&gt;
  &lt;%@ MasterType VirtualPath="~/main.master" %&gt;
  &lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %&gt;
  </code></pre>
  
  <p><strong>search.aspx.vb source snippet</strong></p>
  
  <pre><code>Imports System
  Imports System.Net
  Imports System.IO
  Imports GlobalFunctions
  Imports System.Xml
  Imports System.Collections.Generic
  Imports System.Collections
  Imports System.Linq
  Imports System.Resources
  Imports generalMethods
  Imports System.Globalization
  
  Partial Class search
      Inherits System.Web.UI.Page
  </code></pre>
  
  <p>But when I try to request the page: www.test.com/search.aspx I get this error:
  Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. </p>
  
  <p>Parser Error Message: Could not load type 'search'.</p>
  
  <p>Source Error: </p>
  
  <pre><code>Line 1:  &lt;%@ Page EnableViewState="true" EnableEventValidation="false" MetaDescription="&lt;%$Resources:metadescription%&gt;" Title="&lt;%$Resources:pagetitle %&gt;" Language="VB" MasterPageFile="~/main.master" AutoEventWireup="false" Inherits="search" Codebehind="search.aspx.vb" %&gt;
  Line 2:  
  Line 3:  &lt;%@ MasterType VirtualPath="~/main.master" %&gt;
  
  Source File: /search.aspx    Line: 1 
  </code></pre>
  
  <p>When I tried building the project, I already see the error: Could not load type 'search'.<br>
  I have no idea anymore where to look for this.</p>