VS 2017 error: "Attempted TextBuffer edit operation while another edit is in progress"
Closing and opening the file again should resolve the issue.This may be caused by an extension or may be "ActivityLog.xml"
is lock to write by other process. Don't need to restart VS just current file.