I am using Visual Web Developer 2010 Express and I just added my files into Visual SourceSafe. When I try to save files in Visual Web Developer, it says, “The file cannot be saved because it is write-protected.” It gives me the option to overwrite, but I don’t know if that’s how it’s supposed to work. Ideally, I will click save and it will save the various versions into source safe. I’ve never used source safe before; my previous source-control system just enabled be to click “commit.”
Share
Files under source control are marked as read-only to prevent accidental changes to files and only made writeable when you check them out for editing.
Because there is no source control integration with the Visual Studio Express 2010 editions when you make an edit the file is not automatically checked out from source control so it remains read-only, thus causing the problem you have here.
You either need to check out the files before editing the project or force an overwrite and then check out the file after the event. Neither of which is an ideal solution.