MSbuild task fails because “Any CPU” solution is built out of order

后端 未结 4 838
臣服心动
臣服心动 2021-01-14 08:31

I have two solutions to build in Teambuild, one is the application itself, the other one is the WiX installer. I want to build the application using \"Any CPU\" build config

4条回答
  •  情话喂你
    2021-01-14 08:52

    Project Build Order may be set for projects belonging to the same solution. In this case, for unrelated reasons the projects need to belong to 2 different solutions.

    I've discovered here that a C# project in a "Mixed Platforms" solution will build as "Any CPU", so the solution is to always use "Mixed Platforms" in the Teambuild project file.

提交回复
热议问题