Skip to content

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

@rainersigwald

Description

@rainersigwald

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."

Metadata

Metadata

Assignees

No one assigned

    Labels

    User Experiencehelp wantedIssues that the core team doesn't plan to work on, but would accept a PR for. Comment to claim.triaged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions