Reputation: 2295
I added a project reference of my Business Logic project to my console application. I can reference the project and its classes in the code of my console application. Weirdly, when I build the project, the build fails and the classes which referenced says Type is not defined.Has anybody come across an issue like this?
Upvotes: 0
Views: 71
Reputation: 2295
I have selected the incorrect target framework .net framework client profile 4.0 where it should be .net framework 4. Issue rectified and now I can build the project.
Upvotes: 0
Reputation: 285
You have to import name space in your console application class where you are trying to use the business logic application class.
Upvotes: 1