My laptop crashed this morning, badly, and I spent most of the day running HDD checks and I'm now back on track, to a degree. Anyway, VS now seems to think that my projects are checked out by source control (I have VSTS 2k8) and will not allow me to add anything to the project. I can开发者_如何学Python open and edit existing files, and even there it's quirky with the keyboard, but that's about it.
I tried repairing VS, but that didn't fix the issue. I also tried giving the Users group full control over the project files, but that also didn't work.
So, does anyone know how I can get VS to unlock the project(s)? I don't want to sit down and rewrite everything into a new project just so I can continue development...
I would copy all the sources to a backup folder, delete the original, and take everything again from the source-control. (open from source-control) If there is non-committed files, and you know which one, copy the changes manually after the VS and the SC are synced.
(most SC has option to break/steal locks, if the SC thinks someone else is "checking out" the files).
精彩评论