Class cannot be found
<p>I'm utterly bamboozled by an app I'm trying to write which has suddenly stopped recognising one of my classes.</p>

<p>I don't see there being a hell of a lot of complex stuff here, so what could I possibly doing wrong?  My problem is that my Ticket class no longer appears to be able to see my CallStatus class.  Suggestions are SO welcome right now.</p>

<p>Code is as follows:</p>

<pre><code>using System;
using System.Linq;
using System.Web;
using Iesi.Collections.Generic;
using NHibernate.Search.Attributes;

namespace OpenDesk.Models
{
    [Indexed]
    public class Ticket
    {
        [DocumentId]
        public virtual int ID { get; set; }

        [Field]
        public virtual string ReferenceID { get; set; }
        public virtual int CustomerID { get; set; }
        public virtual DateTime Created { get; set; }
        public virtual string CreatedBy { get; set; }
        public virtual CallPriority Priority { get; set; }
        public virtual CallCategory Category { get; set; }
        public virtual CallStatus Status { get; set; }
        public virtual string Description { get; set; }
        public virtual CallType Type { get; set; }
        public virtual Detail Detail { get; set; }
        public virtual CallSource Source { get; set; }

        [NHibernate.Search.Attributes.IndexedEmbedded]
        public virtual ISet&lt;CallType&gt; Types { get; set; }
        public virtual ISet&lt;CallCategory&gt; Categories { get; set; }

    }
}



using System;
using System.Linq;
using System.Web;
using Iesi.Collections.Generic;
using NHibernate.Search.Attributes;

namespace OpenDesk.Models
{
    public class CallStatus
    {
        public int ID { get; set; }
        public string Status { get; set; }
        public string Description { get; set; }
    }
}
</code></pre>

<p>Other code provided as needed.</p>

<blockquote>
  <p><strong>Compilation error</strong>:<br>
  Error 2 The type or namespace name 'CallStatus' could not be found (are you missing a using directive or an assembly reference?)<br>
  <em>C:\Users\Phil\Documents\Visual Studio 2010\Projects\OpenDesk\trunk\Source\OpenDesk\Models\Ticket.cs</em></p>
</blockquote>
