Skip to content

[Built-in analyzer] Build depends on an environment variable #9885

@ladipro

Description

@ladipro

Background

This issue tracks one of the BuildCheck analyzers we would like to ship in-box with MSBuild.

Goal

Implement an analyzer with the following rule: No implicit property derived from an environment variable is used during the build.

Notes

Depending on the environment leads to build reproducibility problems. Properties should instead be passed to MSBuild explicitly on the command line with /p.

Metadata

Metadata

Labels

Area: BuildCheckBuildCheck SuggestionSuggestion for a built in MSBuild analyzer. Label should be applied together with 'Area: BuildCheck'triaged

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions