Click here to Skip to main content
15,616,520 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have got a new project with the following layers

1.Business Entity(Properties)
2.Business Layer
3.Data Layer(Connection String, Insert,Delete etc)
4.Application Layer(The form/design)

Can anyone tell me the order of adding projects. Because i am getting an error like "Can't add this layer because of Circular dependency"

Which is the order of reference?

Kindly help
[no name] 5-Oct-13 3:38am    
you are linking it in missing way... like you have to set your layer in data then business and then application layer is there.!!!!
MuhammadUSman1 5-Oct-13 4:07am    
Please check my solution?

Share this answer
1. First Add Business Entity reference to Business Layer
2. Second Add Data Layer reference to Business Layer
3. Third Add Business Layer reference to Application Layer

it is the proper sequence of Adding references.

If any issue then let me know.

Muhammad USman
Share this answer
id-athul 5-Oct-13 5:38am    
Thanks a lot:)
MuhammadUSman1 5-Oct-13 5:58am    

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900