Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS Does TFS still need .vspcc files?

We're using TFS and we're having problems when we switch branches, it's throwing up problems with the TFS bindings every single time.

We still have

.vspcc files .vsscc files

which is I'm guessing where it stores the bindings, does anyone have any advice on how to easily switch between branches in TFS without pain?

like image 503
danswain Avatar asked May 11 '09 15:05

danswain


People also ask

Can I delete Vspscc file?

The vssscc/vspscc files are needed, especially for TFVC. Among other things, they hold the list of local files that are explicitly excluded from source control (i.e. . tfignore). We cannot eliminate these files.

What is a .vspscc file?

Source Code Control (SCC) file for projects created with Microsoft Visual Studio; contains metadata used for tracking revisions of Visual Studio software development projects; includes information such as the version number, file path, and the number of nested projects.

What is a Vssscc file extension?

Visual Studio Solution Source Control File.


1 Answers

These files are used to store files that are excluded from source control - and yes, they are themselves under source control. I've never had to worry about these before, so I don't think that's where the problem is.

Bindings are normally stored in your actual proj and sln files.

If you have problems with binding, you actually have some problem with your workspace. Either make a new workspace in a new local folder, and get everything from the server there from scratch (i.e. setting up the workspace mapping through visual studio, opening your solution via the source explorer etc. Don't use any clever tricks here - otherwise strange things happen), or try going to File -> Source Control -> Change Source Control, unbinding all projects and rebinding them. VS will blindly write the binding info anew into your project and sln files if you do this.

Especially make sure that all server paths you're checking out can be mapped to a local path.

Switching between branches is just done by opening the appropriate solution file from the appropriate folder/branch. It's not normal that this gives you problems, obviously.

like image 130
Kurt Schelfthout Avatar answered Oct 09 '22 08:10

Kurt Schelfthout