dotnet / dotnet/msbuild

Warn about setting properties in .rsp

Open
#10,564 0 comments 1 reaction 0 assignees View on GitHub
BuildCheck Suggestion Priority:3 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

We should have an analyzer that advises against setting properties via /p: in response files.

These are not picked up by VS, CloudBuild etc. resulting in behavior changes. Properties should go in Directory.Build.props

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing MSBuild's existing analyzer and response-file behavior to identify the relevant entry points; the issue does not name specific files or tests. Done means an analyzer warns when properties are set with /p: in response files and directs users to Directory.Build.props.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.