The command you are attempting cannot be completed because the file '<filename>' is under source code control and is not checked out
The referenced file is read-only because it has not been checked out. Files that are under source code control must be checked out before they can be modified.
Note
Unlike other project types, deployment projects do not support automatic checkout.
To correct this error
In Solution Explorer, select the referenced file.
On the File menu, choose Check Out.