dotnet/msbuild

Error message when defining a property with no value on the command line is confusing

Open

#472 aperta il 8 feb 2016

Vedi su GitHub
 (2 commenti) (0 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

For example:

o:\msbuild>msbuild /p:blah build.proj /nologo
MSBUILD : error MSB1006: Property is not valid.
Switch: blah

What does Switch: mean? It would be more accurate to say something like "No value was given for property 'blah' defined on the command line."

Guida contributor