Your project has not been saved. Save your project before adding it to source code control.

This error has the following cause and solution: