dotnet/msbuild

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

Open

#2,121 opened on May 22, 2017

View on GitHub
 (0 comments) (4 reactions) (0 assignees)C# (5,062 stars) (1,364 forks)batch import
User Experiencehelp wantedtriaged

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