Visual Studio 2008 "Save File As" Dialog Intermittent Issue

Posted by Jerad Rose on Stack Overflow See other posts from Stack Overflow or by Jerad Rose
Published on 2010-03-11T20:31:18Z Indexed on 2010/03/11 20:34 UTC
Read the original article Hit count: 358

Me and a few of my coworkers are experiencing an odd issue in Visual Studio 2008 and Windows 7 (64-bit). We use VSS6 for our source control (unfortunately).

We have an issue where we will make a change to a checked-out file, resulting in the file getting checked out as expected. But when we go to build the project, or try to save the file, it will often (but not always) prompt us with the "Save File As" dialog, as if VS thinks the file is checked-in (and thus has the read-only flag set).

However, all we have to do is cancel out of the dialog and save or build again, and it will always work the second time, without prompting the save as dialog. Or, we can go through with the save as, leaving the name the same, and it will work. It's as if the source control status in VS2008 hasn't caught up w/ VSS (even though we VS2008 was the app that checked the file out).

This is similar to the discussion on this thread, but it's not an issue of permissions or running as administrator, 1) because it resolves itself on second attempt, and 2) we're already running VS as administrator.

Thanks in advance.

Jerad

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about visual-sourcesafe