Cannot add reference to project because of a circular dependency error

前端 未结 9 1089
不思量自难忘°
不思量自难忘° 2020-12-15 15:07

I created 2 dummy projects in my application and named them BAL and DAL. When I build them, they build successfully. If I add a reference to

9条回答
  •  心在旅途
    2020-12-15 15:59

    Occasionally, you have two different projects, each of which needs methods that the other has. In this case, you can either make a third project and move the shared code into there, or choose one of the two projects to put the shared code in.

提交回复
热议问题