R# “Failed to modify document”

You’ve got the MS Git provider selected as your source control plugin, and you have not init’d a repo for your project:

image

Silliness. Go and change it to some other git provider or init your stuff.