We are attempting to test out a website written in VS2003/.Net 1.1 in VS2005 Beta 2/.Net 2.0. Our main problem at this point is that certain classes are not being recognized when they are referenced in other files not in the same directory as the class file.
A Framework.cs file under \Applications is inherited by several other webpages. It resides under the namespace Company.WebSite.Applications.
Another class, SearchHistories, is in \Applications\CrackHistory directory. The namespace of SearchHistories class is Company.WebSite.Applications.CrackHistory. SearchHistories inherits Framework. Under .NET1.1, there was no problem with this. However, in VS2003, a compile error states "The type or namespace name 'Framework' could not be found (are you missing a using directive or an assembly reference?) C:\WEB\Applications\CrackHistory\SearchHistories.aspx.cs".
The immediate solution is to copy the Framework.cs file from the Applications directory and copy it into the Applications\CrackHistory directory. Then the error goes away. What is up with that?
View Complete Post