MSBuild - can it work out project dependencies in a solution file? If so how?

前端 未结 7 866
北海茫月
北海茫月 2021-02-01 05:24

I have an msbuild project which builds a SLN file from visual studio which holds all the projects in (about 70+ project), and a lot of the projects are dependent on each other m

7条回答
  •  离开以前
    2021-02-01 06:07

    How are you calling MSBuild? If you point MSBuild to the solution file, it should be able to work out the dependencies. If you point it to individual project files, then it won't be able to resolve any project references.

    If you don't use project references you can still control the dependency order in a solution by using the "Project Dependencies" dialog to manually set the dependencies.

提交回复
热议问题