How to change source binding of a project or solution through code

258 views Asked by At

My question is very simple. How to change the source control binding of a solution (or Project) that I have at my local machine (C:\ or somewhere), not through Visual Studio UI but through C# code. Is there any library for that?

I know there is a SourceSafeType library which I used for automating a whole bunch of other tasks on VSS, but I couldn't find any API for changing source binding of a solution or a project

1

There are 1 answers

0
Rachel On

Did you try the steps like below? I think this would be easier for you to manage the code versions.

  1. After a major release, create a branch for your solution in VSS Explorer.

  2. In Visual Studio, use Open from Source Control command to connect to your new branch and retrieve it.

  3. You can then work on the new branch for future dev.