Reputation: 35107
I've created a solution with three projects in it.
I'm sitting here scratching my head trying to figure out if I'm running into a VS bug or I've done something completely boneheaded. Either way I can't figure out why after adding a reference to the data project I can't reference it. My confusion is further compounded by the fact that directly after adding the reference for the Data project to the UnitTest project but before building the solution Intellisense picks up the Data project namespaces just fine.
Help!
Upvotes: 1
Views: 2151
Reputation: 35107
I finally took a look at the Project Properties of the UnitTest project and noticed that under the Application tab the Target Framework had defaulted to .Net Framework 4 Client Profile. Once I switched it to .Net Framework 4 everything worked as expected. Seems like the kind of thing the compiler might be able to hint at but what do I know.
Upvotes: 5