我在Visual Studio C#.NET解决方案中有类似以下设置:
Project 1 – TrainDisplay – a WinForms application to display train arrivals.@H_301_6@
Project 2 – TrainFetcher – is a re-usable class library to fetch data about trains.@H_301_6@
Project 3 – TrainsDataModel is a data model,containing classes common to all other projects,e.g. Train.cs,TrainRoute.cs and so on.@H_301_6@
每个都有以下参考:@H_301_6@
Project 1 : References 2 and 3@H_301_6@
Project 2 : References 3@H_301_6@
以这种方式使用引用是不是很糟糕;即项目1最终是否有两个对项目3的引用;一个直接,一个通过项目2?@H_301_6@