Reputation: 6321
I have created a simple Console application. I moved all my class files into a separate project because it is shared between this and a Asp.Net MVC application. I add the library fine. I add a reference to the project just fine. Everything looks good until it compiles, then it suddenly can't find the referenced namespace of the project. If I remove the using statement and add it back in the auto complete works fine and sees the project. It's only when building that it gives an error.
Upvotes: 0
Views: 205
Reputation: 14820
At first sight it looks like you're not doing anything wrong. In the past, I've had issues similar to this and the main causes were...
System.Web
assembly or System.Web.MVC
, etcUpvotes: 1