This command can operate only on projects. This error has the following cause and solution:
Select the proper command, or select a project that works with the command you've chosen.