I have a large ASP.NET web project which I want to divide into multiple projects. Reason being is there's a substantial portion of the project that is the Admin pages, and I want to develop and build those pages without interfering with the other pages which are constantly being tested by members of my team.
I started by splitting the main project into 3 pojects, say "main", "admin" and "classes". I did this by creating new projects in another instance os VS, then right clicking my main solution and seleting "Add->Existing Project". The only thing in the classes project are .
vb classes, which are shared by both the admin and the main projects. I have the whole solution setup now, and all three projects appear in the Solution explorer pane. Per others recommendations I am not using any dll references between these.
I dont know if its relevant but:
Directory structure looks like:
/main/main.proj
/main/admin/admin.proj
/main/classes/classes.proj
and output directories are:
/main/bin/main.dll
/main/admin/bin/admin.dll
/main/classes/bin/classes.dll
The problem is that now all my references to the classes are broke. Any place that I reference any class in "classes" project from "admin" or "main" causes error: Type 'fooclass' is not defined.
What am I missing here?
-------------------------
Beware of programmers with screwdrivers...