Feel like a geek and get yourself Ema Personal Wiki for Android and Windows

01 September 2009

Sourcegear does not add files after having worked online

If you're using the Sourcegear Vault client plugin for Visual Studio and use the feature "work offline", you have probably encountered this problem. If you added file while being offline, the added files won't be added to Vault after you "Go Online". The vault client thus silently corrupts your codebase.

I learned the hard way that i have to open each and every folder where i could possibly have added new files, to manually add them to vault after going online. But lately I discovered a good workaround. You can right-click on the project file, and choose "Add to vault" on the project root. All files that have not been added yet, will be added by that action.

3 comments:

paulroub said...

Is this happening within single solution, or when switching between multiple solutions before going online? If the latter, there's a workaround noted at support.sourcegear.com.

Also, what Vault version are you using?

Jan Willem said...

Although I am not sure what you mean, I think it is in a single solution. Vault 4.1.3 18336.

Jan Willem said...

We are working in SVN mode, if that makes a difference.