[VS2010] HowTo: Differentiate the same solution in different branches (thanks VSCommands2010)


image47dd1de4

Good,

When you work with any strategy of Branching (but do you, out of my blog! should) is very common that you are opening the same solution in the branch of development evolutovo and in the branch of maintenance or corrective.

The following example shows how we have the solution ClassLibrary1 and the files in the branches [DEV] and [MAIN]

image

The problem often come when you open a solution, for example the DEV branch and you despistas and you get to change it as if it were that of the MAIN branch.

A useful way of differentiating the elements of each branch, is to take advantage of a new feature of the 2010 VSCommands for Visual Studio 2010 that lets you define a “friendly name” for solutions. To work with this feature, select the solution and see the properties of the same, where we will see 2 new properties.

image

Property [friendly name solution path Reg] we define a regular expression in which we can create one or more groups that we can then use in property [friendly name] to make use of them. In this case, the group is called {BranchName}and show it after the name of the solution.

Open the solution from the DEV branch you see that this description applies to the title of the window and also in thesolution Explorer.

image

If you instead open the solution from the MAINbranch, we will see the description for this branch.

image

For more information about the VSCommands 2010http://vscommands.com/features/

Greetings @ Here

The Bruno

   

About these ads

Un pensamiento en “[VS2010] HowTo: Differentiate the same solution in different branches (thanks VSCommands2010)

  1. Pingback: [English] Visual Studio 2010 ALM | El Bruno

Deja un comentario

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Conectando a %s