Visual Studio 2008 Unexpected Error on Project Checkout with VSS 2005

Posted by Cyberherbalist on Stack Overflow See other posts from Stack Overflow or by Cyberherbalist
Published on 2009-06-24T21:00:18Z Indexed on 2010/05/23 4:41 UTC
Read the original article Hit count: 466

I've encountered an odd misbehavior of VS 2008's integration with Visual Source Safe 2005.

Situation occurs when I fire up VS2008 when a project is checked out to someone else, and later they check the project back in, while I still hold the VS2008 open. If I at that time add a new item, VS2008 tells me that my action has caused a check out of the project and a new version has been loaded from source control. Fair enough, but thereafter I get an error dialog stating "Visual Studio has encountered an unexpected error" with OK at every subsequent action, such as save file and search text, making it almost unusable. This is overcome by closing VS (which pops the error dialog once more) and restarting.

Is there some kind of fix or workaround to this (besides the obvious ones: "don't try to check out the project when it's checked out to someone else", or "get latest version if you think the other person may have checked the project back in")?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about visual-sourcesafe