You must check out the project file before you can perform this command.

This error has the following cause and solution: