dotnet/msbuild

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

Open

#2121 aperta il 22 mag 2017

Vedi su GitHub
 (0 commenti) (4 reazioni) (0 assegnatari)C# (1364 fork)batch import
User Experiencehelp wantedtriaged

Metriche repository

Star
 (5062 star)
Metriche merge PR
 (Merge medio 11g 7h) (125 PR mergiate in 30 g)

Descrizione

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.

Guida contributor