How to link multiple visual studio solutions together?

前端 未结 9 1393
南笙
南笙 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条回答
  •  被撕碎了的回忆
    2021-02-01 01:55

    If you can't put projects B and C into the same solution as project A then there's no way to make sure you have binaries for B and C containing the latest source code when you build project A.

    The easiest solution I've seen is to have a common folder in the source code repository where every project copies its binaries if they need to be shared. Then all other projects can reference binaries in that folder as long as your local folders look the same as the repository.

    Not a perfect solution, but it's pretty easy to work with.

提交回复
热议问题