How to link multiple visual studio solutions together?

前端 未结 9 1391
南笙
南笙 2021-02-01 01:28

I have 3 solutions and solution A requires built versions of the dlls from solution B and C in order to compile. it is not possible to merge it to one solution...

So far

9条回答
  •  闹比i
    闹比i (楼主)
    2021-02-01 02:06

    This question has popped up in different, but related, forms. There is actually an MSDN page that covers this.

    What you're looking for is a multi-solution approach akin to the Partitioned Single Solution Model for Larger Systems. Have one "everything" solution that builds everything and maintains your inter-component dependencies. This is what you build when you need to build solution A. You then have separate solutions that only include components B or C. Essentially, you'll still have 3 solutions, but you'll add the projects from solutions B and C into solution A.

提交回复
热议问题