This command operates only on files, not on projects (like <Project>)

This command operates only on files. This error has the following cause and solution: