Hello all,
I'm having a bit of a strange problem, related to folders and namespaces, I guess. When working with VS.NET 2k3 and ASP.NET 1.1, I could put a UserControl in a subfolder, or even a subfolder to a subfolder (and so on), and still reference it from code. I could access the UserControl CodeBehind class by writing code like MyNamespace.MyProjectName.MySubFolder.MyUserControl control = new MyNamespace.MyProjectName.MySubFolder.MyUserControl(); and so on.
However, this doesn't seem possible in VS 2k5. For one, the namespaces are not included by default, and if I do try to include them, I get weird errors. I guess this is okay, if it was still possible for me to access CB classes for UserControls (or pages, or whatever) placed in subfolders. But how in the world do I do that? It simply MUST be possible, but I can't seem to find the solution! It really seems like I'm missing something obvious, as this should be a piece of cake - who places everything in their website root? :)
Any help on this subject would be greatly appreciated!