Link to home
Start Free TrialLog in
Avatar of purplesoup
purplesoupFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Simple way to checkout from Visual Studio without locating the file in TFS

Is there a simple way to checkout a file while in my Visual Studio project without having to navigate through the TFS folders and locating the same file?

TFS already has the folder mapping between my local files and TFS, so shouldn't it be possible for TFS to work out the equivalent TFS file to check out?

I'm using VS 2008 and TFS 2005
Avatar of Mohamed Osama
Mohamed Osama
Flag of Egypt image

Just to make sure I am getting you right, you want to be able to automatically check files out when you open them in Solution explorer without having to browse  through TEAM explorer >Source Control & Checking out the files.
in VS2005 , Tools>Options>Source Control>Environment>checked-in items behavior
On Edit>check out automatically.
the same option applies to VS2008 as well.


Avatar of purplesoup

ASKER

I have that set already, but when I try to edit and save a checked in file I get this:

Save of Read-Only File:

The file (name) cannot be saved because it is write-protected.

You can either save the file in a different location or Microsoft Visual Studio can attempt to remove the write-protection and overwrite the file in its current location.

The option buttons are:
Save As...
Overwrite
Cancel
Help

ASKER CERTIFIED SOLUTION
Avatar of purplesoup
purplesoup
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial