Note that there are some explanatory texts on larger screens.

plurals
  1. POASP.Net: The type or namespace name 'namespace ' could not be found (are you missing a using directive or an assembly reference?
    primarykey
    data
    text
    <p>This should be an easy fix. I created a Linq to SQL class using SQLMetal. I added it to my project and put it in the App_Code folder. See below Yet intellisence is not picking up the namespace in my Default.aspx.cs code. See below. So when I build I naturally get an error as above. What should I do to fix this bug?</p> <p>The generated Linq to SQL class in the App_Code folder begins as;</p> <pre><code>#pragma warning disable 1591 //------------------------------------------------------------------------------ // &lt;auto-generated&gt; // This code was generated by a tool. // Runtime Version:2.0.50727.3053 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // &lt;/auto-generated&gt; //------------------------------------------------------------------------------ namespace RiskManNew { using System.Data.Linq; using System.Data.Linq.Mapping; using System.Data; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Linq.Expressions; using System.ComponentModel; using System; public partial class RiskManNew : System.Data.Linq.DataContext { ... ------------------------------------------------------------------------ </code></pre> <p>The Default.aspx.cs begins as</p> <pre><code>using System; using System.Collections.Generic; using System.Linq; using System.Data.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using RiskManNew; ... </code></pre> <p>Intellisense does not recognise RiskManNew</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload