I am currently working on an ASP.NET MVC3 project in Visual Studio. I have a solution set up that contains two seperate projects. I’m new to ASP.NET and I think I’m missing something basic as I cant reference classes out-with the Project that the class trying to reference is located in.
Just to clarify:
I have projectA that contains classA.
I have projectB that contains classB.
I type this into classA:
using Solution.projectB.classB
I get an error saying that projectB does not exist.
Project A needs a Project Reference to Project B, i.e. right-click on Project A, select Add Reference, select Projects, and select Project B.