posts - 4237, comments - 3946, trackbacks - 370

Disclaimer

This was my personal weblog originally hosted by UgiDotNet, written mostly in Italian.

This blog is now part of my new site:
These postings are provided 'AS IS' with no warranties, and confer no rights. The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employers.

Licenza Creative Commons

Tag Cloud

Archives

Post Categories

Shelve e Unshelve in VS.NET 2003, VS2005 e VS2008

Oggi ero in chat con il Gemello Diverso quando ad un certo punto mi chiede dov'è il comando per fare Shelve con il plugin MSSCCI di VS.NET 2003 (stesso discorso vale per tutti gli ambienti che supportano "miss kee").

La risposta è "non c'è!"... smile_eyeroll

Dopotutto quando è stato inventato il "miss kee" non si sapeva nemmeno cosa fosse un accantonamento, o "sospensione", come è stato tradotto nella versione italiana.

Naturalmente ci può venire in aiuto la possibilità di aggiungere i comandi al menù Tools.

Non ho qui un VS.NET 2003 (grazie al cielo non uso più il FW 1.1 da un bel po'...) per mettere su due schermate, ma non ci vuole nulla a creare una voce che richiama il comando "tf shelve", qualcosa tipo (nella GUI di VS2008):

image

E naturalmente si può creare il corrispondente "tf unshelve":

image

Si può poi provare a giocare con le opzioni "Use Output window" di VS e "/noprompt"...

Ad esempio... se non si mette "Use Output Windows" la Shelve tira fuori queste due finestre:

image

Mentre con "Use Output Window" non viene mostrata nessuna Dialog, solo una conferma delle operazioni (il tutto sempre in VS2008... a voi la prova nel VS.NET 2003):

image

Tornando al titolo del post, in VS2005 e VS2008 i comandi Shelve e Unshelve sono disponibili direttamente nella GUI, come mostrato in questo post:

...CUT...After the project is under TFS Source control you should be able to access the Shelve/Unshelve functionality one of the two ways.

1.  Bring up the Pending Changes Dialog one of two ways:

View > Other Windows > Pending Changes

Right Click a project in Solution Explorer > View Pending Changes

In this dialog both Shelve and Unshelve are on the toolbar (see image below)

2. Right click on a project or file in the solution explorer and choose Shelve/Unshelve.(see image)  NOTE: The context menu is highly dynamic based on what you right click and may not show Shelve - For instance right clicking on a directory doesn't offer Shelve as an option.... 

Fonte: Finding Shelve/Unshelve in Visual Studio 2008.

Technorati Tags: , , , ,

Print | posted on giovedì 27 marzo 2008 00:37 |

Comments have been closed on this topic.