dotnet / dotnet/msbuild

[Built-in analyzer] MSBuild task with BuildInParallel is batched

Open
#9,889 6 comments 2 reactions 0 assignees View on GitHub
Area: BuildCheck Area: Performance BuildCheck Suggestion triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### 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: The `MSBuild` task is not executed [batched](https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-batching#task-batching) when the `BuildInParallel` parameter is true.

### Notes

The intention of `BuildInParallel = true` is to run child builds in parallel. Batching the task, on the other hand, makes it run in a loop, one invocation at a time, which is likely not desired.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.