title: The type 'System.Linq.IQueryable`1<T0>' is defined in an assembly that is not referenced
body: <p>Despite the references being present already, or a default part of the build process, i'm
  getting</p>
  
  <p><strong>Error 1</strong> The type 'System.Linq.IQueryable`1' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'</p>
  
  <p><strong>Error 2</strong> The type 'System.Linq.IQueryable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'</p>
  
  <p><strong>Error 3</strong> The type 'System.Linq.IQueryProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'</p>
  
  <p>on <code>Divisions</code> variable name.</p>
  
  <pre><code>public System.Data.Linq.Table&lt;Division&gt; Divisions
  {
     get
       {
           return this.GetTable&lt;Division&gt;();
       }
  }
  </code></pre>
  
  <p>This happened after i reinstalled visual studio 2013 express for web. projects that compiled and had no error previously, are all doing this exact same error. can't add the reference it asks for because it's already included in the build schedule. tried removing the table reference and re-adding through the <code>DBML</code> auto generated code, and initially seems to work... but then the next table down the list is affected, and the next and so on. if i remove them all and re-add them all, the problem starts over again. </p>
  
  <p>my web.config is littered with flailing attempts to kill this error. i've tried recreating the project from scratch, same thing.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
  &lt;connectionStrings&gt;
  &lt;add name="GenesisConnectionString" connectionString="Data Source=.\sqlexpress;Initial Catalog=Genesis;Integrated Security=True" providerName="System.Data.SqlClient"/&gt;
  &lt;/connectionStrings&gt;
  &lt;appSettings&gt;
  &lt;add key="autoFormsAuthentication" value="false"/&gt;
  &lt;add key="enableSimpleMembership" value="false"/&gt;
  &lt;add key="webpages:Enabled" value="false"/&gt;
  &lt;/appSettings&gt;
  &lt;system.web&gt;
  &lt;customErrors mode="Off"&gt;         
  &lt;/customErrors&gt;
  &lt;compilation debug="true" targetFramework="4.0"&gt;
    &lt;assemblies&gt;
      &lt;add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;
      &lt;add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
      &lt;add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
      &lt;add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;
      &lt;add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;
      &lt;add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, publicKeyToken=b77a5c561934e089" /&gt;
      &lt;add assembly="System.Data.Services.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/&gt;
    &lt;/assemblies&gt;
  &lt;/compilation&gt;
  &lt;pages controlRenderingCompatibilityVersion="4.0"/&gt;
      &lt;identity impersonate="false"/&gt;
  &lt;/system.web&gt;
  &lt;system.webServer&gt;
  &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
  &lt;validation validateIntegratedModeConfiguration="true"/&gt;
      &lt;handlers&gt;
          &lt;remove name="cshtm-Integrated-4.0"/&gt;
          &lt;remove name="cshtml-Integrated-4.0"/&gt;
        &lt;add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, 
             System.Web, Version=2.0.0.0, 
             Culture=neutral, 
             PublicKeyToken=31bf3856ad364e35"/&gt;
          &lt;add name="cshtml-Integrated-4.0" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode,runtimeVersionv4.0"/&gt;
          &lt;add name="cshtm-Integrated-4.0" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode,runtimeVersionv4.0"/&gt;
      &lt;/handlers&gt;
  
  &lt;/system.webServer&gt;
  &lt;runtime&gt;
      &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
          &lt;dependentAssembly&gt;
              &lt;assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31BF3856AD364E35" culture="neutral"/&gt;
              &lt;bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0"/&gt;
          &lt;/dependentAssembly&gt;
          &lt;dependentAssembly&gt;
              &lt;assemblyIdentity name="System.Web.WebPages.Deployment" publicKeyToken="31BF3856AD364E35" culture="neutral"/&gt;
              &lt;bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0"/&gt;
          &lt;/dependentAssembly&gt;
          &lt;dependentAssembly&gt;
              &lt;assemblyIdentity name="System.Web.WebPages" publicKeyToken="31BF3856AD364E35" culture="neutral"/&gt;
              &lt;bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0"/&gt;
          &lt;/dependentAssembly&gt;
      &lt;/assemblyBinding&gt;
  &lt;/runtime&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Is this an instance of broken VS release, or what am i missing? did i start the project wrong, and i forgot to say <code>klaatu verata nicto</code>? i'd post a stack trace if it would even finish building the application. thanks ahead for your help!</p>