<name> is not a valid switch for this command.

This error generally occurs when a incorrect switch or combination of single character switches has been entered for a command.

To correct this error

  • Check the documentation for the correct syntax for the command and try again.

See Also

Reference

Visual Studio Commands with Arguments

Visual Studio Commands and Switches