Quadwwchs
Quadwwchs

Reputation: 1425

VS2010 Console application add reference issues

I have a solution with multiple class libraries and a console application. When I add a reference to the other projects in my console app the reference namespaces and classes appear fine. However when I attempt to build the project the referenced namespaces are no longer valid. The reference still appears in the Reference folder in the console app. Any ideas on what i'm doing wrong?

Upvotes: 5

Views: 5334

Answers (2)

Quadwwchs
Quadwwchs

Reputation: 1425

I found the solution at the link below. Turns out it was a project configuration issue. It was targeting .NET Framework 4.0 Client Profile.

Cannot use external refernces with C# Console Application

Upvotes: 13

SLaks
SLaks

Reputation: 887305

You have a build error in one of the other projects.

Upvotes: 0

Related Questions