Offline support on Visual Studio 2008 source controlNo Comments
I’ve been playing with Visual Studio 2008 Beta 2 lately and found a little gem: offline support for source control. It does not do everything I would like (like ability to use the Source Control Explorer offline), but we get enough to work with a solution when there is no connection to TFS.
1. When you open a solution offline (no access to TFS) this dialog will pop up saying that the solution will be opened in offline mode. Click OK.
2. Let’s say you need to change “styles.css”. You open it and when you are done you will try saving it. You will get this known dialog saying that the file is write-protected. This is because the source control client protects the file against changes outside the tool.
Click on Overwrite to save the changes
3. Online again! Right click on the solution and press “Go Online”
4. Visual Studio 2008 will check the solution for changes while you were offline and will show this dialog. Press Go Online so the changes are applied in the TFS.
5. Notice how the styles.css file is checked out.
6. Now you can go on with more changes and check in your code. Changes made offline/online will be commited to TFS
Now there is no excuse if the TFS is down or you don’t have access to it