I have a solution with many projects. All are reusable class libraries except one that is a console application I am using to build test cases. I can successfully reference some projects, but not others. I can add a reference to the projects, but when I reference them with a using statement, some of the project references fail at compile time with a “type or namespace name ‘project name’ could not be found.
The strange thing about this is that I am successfully referencing all of these projects in another separate application, but within this solution, I can reference some successfully and not others?
By default Visual Studio 2010 creates Console apps against the .Net Framework Client Profile. Often times this is incompatible with existing libraries built against the full framework. Go to you console app, go to properties, and change the target framework to .Net Framework 4.