Detect CI builds for every CI system
In order to unify the environment variable to detect whether a build is a CI build as simply CI
(as is done already in GitHub Actions, Circle CI and GitLab), you just place this bit of MSBuild in every project's Directory.Build.props
to make things consistent everywhere:
PreviousModifying the build for every solution in a repositoryNextModify all command-line builds in entire repo
Last updated