Issue Building a single project using msbuild that has multiple configurations

前端 未结 5 664
臣服心动
臣服心动 2021-02-06 23:14

Issue

We are using config transforms inside our solution. For example: Debug, Test, Staging, Release However, those configurations are only used on our

5条回答
  •  渐次进展
    2021-02-07 00:00

    Unfortunately, you will have to modify every project that is used in the solution to have the same build path.

    However, this is a pretty easy thing to do if your projects all build to the same path regardless of configuration: in the project properties' Build tab, select All Configurations from the Configuration dropdown and then change the Output path.

    This will create entries for all of the configurations in the project file that do not already existing and set the same output path for all configurations.

提交回复
热议问题