Hello all. I am getting this error when I attempt a build of my Visual Studio 2008 project. The build works fine on another computer, but not on this one. It appears there is some sort of reference missing, but I have no idea where to even look. All the references look the same on the two machines, but I don't know what to look for regarding data context references.

Here is the complete error message:

The type or namespace name 'MyDataContext' could not be found (are you missing a using directive or an assembly reference?)

Here is the beginning of my Class that throws the error:

public partial class alerts : System.Web.UI.Page
{
MyDataContext mydata = new MyIntouchDataContext();

Also, intellisense recognizes the MyDataContext so not sure why it is erroring on this. I actually have the same build error on all of my data context references throughout the project. I am just showing this one because they are all the same (just different name).

What should I be looking for? Has anyone experienced this issue?

Thanks for your assistance!