MSBuild - Set Properties For Solution

前端 未结 3 2096
刺人心
刺人心 2021-02-19 03:13

We are using .NET 3.5 with VS2008. I have a solution with ~20 projects in it, and that number will grow over time as the application grows and adds new modules. Today I needed

3条回答
  •  离开以前
    2021-02-19 04:00

    I have implemented the solution suggested by @fatcat111 a number of times now. This time I have automated this process by using NuGet - Common.Props. The package will add a common props file at a solution level and by installing the package in multiple projects of the same solution the properties can be shared.

    The code is on GitHub.

提交回复
热议问题