dotnet / dotnet/msbuild

"Only one project" error should indicate all projects from the command line

Open
#2,121 0 comments 4 reactions 0 assignees View on GitHub
help wanted triaged User Experience
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

If some combination of the MSBuild command line and response file list multiple projects, MSBuild emits an error:

```
MSBUILD : error MSB1008: Only one project can be specified.
Switch: .\msbuild.binlog
```

But that error only lists one project. It would be nice if it listed all of the projects, to make it easier to figure out what intent was.

Issues like #2112 would be more easily debugged if this was the case.

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.