Dotnet website - class in one file can't access class in a different file
- by bmutch
I've inherited a web site I'm editing in dotnet and it won't compile because the class in one file (say class1.vb) refers to a class in another file (say class2) (like Dim m_c As class2) , but the compiler says "Type Class2 is not defined".
when I look in the object browswer the classes are listed separately (i.e. not all grouped under the same namespace) and appear as:
Public Class Class1
Inherits System.Object
Member of C:...\mywebsite\
Help!, thanks.