Sidekicks are available for RC!

Both TFS Sidekicks and MSBuild Sidekick v3 are now available for Visual Studio 2010 Release Candidate. Check the following posts on Attrice blog - Team Foundation Sidekicks 2010 updated for RC and MSBuild Sidekick v3 is updated for RC.

Mirrored from Attrice blog

Team Foundation Sidekicks for 2010 available

We are proud to announce Team Foundation Sidekicks for Beta 2 release candidate of Visual Studio and Team Foundation Server 2010.

The release functionality is mainly identical to that of version 2.4 for 2005/2008, with the exception of the following:

  • Permissions Sidekick: Sidekick is not available in this release (to be added back in 2010 RTM timeframe)
  • Build Type editing (VS integration only): The feature is not available in this release
  • Dynamic History support (VS integration only): the History toolwindow is updated only when it is visible alongside with Source Control Explorer and single instance of the window exists (in 2010 History toolwindow may have multiple instances)

For 2010 we still supply both stand-alone client application and Visual Studio integration package; the latter uses VS 2010 extension registration mechanism and is available through VS Extensions Manager.

Please note that since object model API for 2010 release is still being finalized, we did not include any new features in the release for beta 2, relying instead on backward API compatibility on which TFS team did an excellent job allowing us to provide same features as in 2008 with minimum changes. But we do plan on supporting new features in 2010 in our utilities; if you feel strongly about any features missing or want to provide other feedback, feel free to comment on the blog or reach us at tfs_at_attrice_dot_info.

Mirrored from Attrice Blog

Team Foundation Sidekicks 2.4 release

We are proud to announce new Team Foundation Sidekicks release. With this release we conclude support for Visual Studio/TFS 2005 & 2008; from now on any future releases will target VS/TFS 2010. Sidekicks version for 2010 (based on Beta 2 bits) may be expected by the end of 2009.

The release 2.4 includes a relatively large number of bug fixes as well as couple of new features.

Features

  • Labels Sidekick: Support filtering by file extension in Labels Comparison window
  • Code Review Sidekick: Check-in policy violation indication shown next to changesets in a list
  • Workspace Sidekick: Support ability to save list of found workspaces
  • New Users View Sidekick: Show searchable list of user names and user display names in TFS Valid Users group

Bug fixes

  • BUGFIX VS Integration (Dynamic History): exception thrown when viewing history on pending adds
  • BUGFIX Code Review Sidekick: Changeset/Work Item selection dialogs do not keep last set of parameters set
  • BUGFIX Code Review Sidekick: When all changesets selected, the list of changesets is not scrollable
  • BUGFIX Labels Sidekick: Multiple selection of labels in list does not work with keyboard
  • BUGFIX Labels Sidekick: Labels Comparison is out of sync for certain label content
  • BUGFIX Status Sidekick: Undoing changes on root node ($\) causes an exception

Let’s conclude with short description of new Users View Sidekick. Sidekick works around known limitation in TFS version control, where it displays only user names for item history or other version control dialogs. In some corporate environments user names tend to follow cryptic conventions set by IT which are completely unrelated to actual user first and last name (such as GERWA12N etc.). In such scenarios, Users View Sidekick would allow you searching for actual user display name using AD user name.

Caveat that applies to the usage of Users View Sidekick – retrieving user names through TFS OM API may potentially take quite a long time.

Posted by Eugene Zakhareyev | 1 comment(s)
תגים:

How to review Properties & Items while debugging with MSBuild Sidekick

In the recent post we described the basics of debugging typical MSBuild project.

In this post we shall touch upon important feature of MSBuild Sidekick debugger – namely inspecting Property and Item values during debugging with Globals and Autos windows.

The walkthrough below will show how to review Property and Item values while debugging:

1. Start debugging project in step-by-step mode (see previous post)

2. When Target/Task is selected (highlighted with bold border in Debug window) click on View > Globals Window and View > Autos Window menu.

View main menu

Globals and Autos windows will appear at bottom pane of main application window.
Note: you may simply change these windows position by dragging-and-dropping them anywhere on application window.

Globals window displays Property and Item values as they are evaluated during the build execution.

Globals window

Autos window is similar to Globals window but displays only Properties/Items that are defined as input or output parameters for Target/Task element to be executed at the next step as you step through the project.

Autos window

3. Now let’s review the data. One can use Show combo box to switch between Properties and Items view mode.
Data is organized as a table with the following columns:
  * Property/Item name
  * Property/Item current value

Globals window - dropdown

4. You may also use Filter text box to filter currently visible elements based on element name.

Globals window - filter

5. As you click on “Debug Step” button and debug step-by-step you may see that Properties/Items that have been changed on previous step are highlighted in red.

Globals window - highlighted properties

Mirrored from Attrice Blog

Posted by Eugene Zakhareyev | with no comments
תגים:,

How to debug step-by-step with MSBuild Sidekick

Have you ever tried to debug MSBuild project? If you did, in all probability you had to resort to introducing extra Message tasks into the project to output status during project execution; and then execute build and review the logs time after time to identify the problems (perhaps adding more Message tasks as you proceed).

Now you can debug your projects without ever adding extra “Message” tasks while reviewing build execution in real time – jut use MSBuild Sidekick debugger and resolve problems in your builds in no time.

In this post we shall show how to debug typical C# console project with MSBuild Sidekick.

1. Create new C# Console Application project with Visual Studio and open the project with MSBuild Sidekick.

2. Click Debug Step button (or press F11 key) to start step-by-step debug.

3. You can see now build execution order in Debug Window that should appear automatically. You may also open Debug Window by clicking on View -> Debug Window menu item.
Note: Debug window appears in floating mode when it is opened for the first time. To make Debug window docked drag-n-drop it at desired location on MSBuild Sidekick main application window.


4. Once in Debug mode, you can debug step-by-step by clicking Debug Step button (or pressing F11 key). MSBuild Sidekick highlights diagram elements differently depending on their current status:
* Current Target \Task is always highlighted with bold border
* Targets\Tasks that were successfully executed are highlighted in green
* Targets\Tasks that were skipped are highlighted in yellow
* Targets\Tasks that are not yet processed are not highlighted
Note: You may always see color coding rules by expanding legend which is collapsed at bottom of Debug Window.

5. To stop build execution on a specific Target\Task you may set breakpoint on it. To set breakpoint for Target\Task open right-click context menu and choose Toggle Breakpoint item.

6. Target\Task with breakpoint becomes marked with red circle.


7. Click Debug button (or press F5 key) to continue debugging.

8. Once build execution reaches Target\Task with breakpoint set, MSBuild Sidekick will switch into step-by-step debug mode. Current Target/Task will be highlighted with bold border around it in Debug window.

Mirrored from Attrice Blog

Posted by Eugene Zakhareyev | with no comments
תגים:,

How to use MSBuild Extension Pack tasks with MSBuild Sidekick

One of the most exciting and widely accepted projects in MSBuild community is MSBuild Extension Pack tasks. MSBuild Extension Pack provides a collection of over 240 MSBuild tasks you may use in your MSBuild projects for free!

In MSBuild Sidekick v 2.3 we introduced integration with MSBuild Extension Pack tasks; now you can add, edit properties and view online help for all the MSBuild Extension Pack tasks in the Sidekick application.

To illustrate these features let’s create new MSBuild project in MSBuild Sidekick v2.3 and add a MSBuild Extension Pack task to it.

Note: you should have MSBuild Extension Pack properly installed; it is available at http://www.codeplex.com/MSBuildExtensionPack.

1. Right click on Target element and choose “Add Task” from context menu.

Task context menu

2. In the “Add Task” dialog choose “Custom Tasks” tab – you should see there all the MSBuild Extension Pack task classes.

Add Task dialog

3. Then click on task class you’re going to use in your project, click “Add” button and click “Close” to leave dialog window.
Note: you can add multiple tasks using “Add Task” dialog by clicking “Add” button multiple times.

Add Task dialog buttons

4. Choose relevant task action in TaskAction property drop-down for your new task.

TaskAction property dropdown

5. Once task action is selected, the task parameters list will be filtered automatically, so that only task parameters relevant for the selected task action will be displayed. Required input parameters will be marked with asterisk (see Format parameter on the screenshot above).

6. To view online help for the selected MSBuild Extension Pack task navigate to Help window.

Task element online help

Mirrored from Attrice Blog

Posted by Eugene Zakhareyev | with no comments
תגים:,

MSBuild Sidekick v 2.3 is released

We are happy to announce the release of version 2.3 of MSBuild Sidekick!

Many of you would remember "How would you spend $100 on MSBuild?" poll published on MSBuild Team Blog. MSBuild users were asked to vote on most valuable future features in MSBuild; and while we could not improve MSBuild engine performance or add inline tasks support we did implement visual debugger for MSBuild! MSBuild Sidekick v2.3 is now the one-stop solution for all your debugging needs such as stepping through the build, inspecting locals and setting breakpoints.

The new features in MSBuild Sidekick v2.3 are:

  • Visual debugger (you can analyze build sequence using diagram) with breakpoints support and integrated Globals/Autos windows for viewing properties/items values during debugging

 

  • Customized editors and integrated online help for MSBuild Extension Pack tasks
  • Ability to cancel a running build
  • Ability to edit Project element raw XML
  • Auto-detection of latest .NET Framework on tool installation

Please note, that for all registered users the upgrade to new version is free of charge; otherwise the license can be purchased online.

See product page for additional information; also make sure to have a look at walkthroughs detailing the application usage and the user manual.

Also, using this joyful occasion we have finally got to opening a company blog; from now on the posts here will be only a mirror, so you might want to change your RSS reader to point to the new feed.

Posted by Eugene Zakhareyev | with no comments
תגים:

Code Review Sidekick in action

Right after writing post about using Code Review Sidekick I came across a post by Carel Lotz, that describes how Code Review Sidekick can be used for code review in context of Scrum software development process:

… a code review process that suited our development team as well as the Team Foundation Server toolset and the Conchango SCRUM for Team System process template we are using.  This post details what process and tooling we came up with.

If you looking for ideas on how to implement code review process, this post is highly recommended.

Posted by Eugene Zakhareyev | with no comments
תגים:, ,

Reviewing changes with Code Review Sidekick

In version 2.0 of Team Foundation Sidekicks we have first introduced Code Review Sidekick; today, I am going to explain in some detail the usage we had in mind while developing the tool. The name of the tool hints on usefulness in code review; however, since everybody has different code review process some extra explanation is required.

Let’s start with review of the files, based on changesets committed to source control repository.

When you invoke Code Review Sidekick from Source Control Explorer, “Find Changesets” dialog will be displayed:

Depending on the changeset selection, you can easily handle the following scenarios

- Review all changes done on project X within the last week. Specify project path and the dates range in “Find Changesets” dialog (the path will be pre-selected when starting Sidekick from SCE), and select appropriate changesets from the Results list

- Review changes performed by user X within the last week. Specify user name and date range in the “Find Changesets” dialog

Once you selected the changesets to review, the changesets and files revisions contained will be loaded into Code Review Sidekick:

In addition to reviewing files revisions, it is also possible to review work items associated with the changesets selected (on “Work Items” tab). That may answer the questions such as "What did user X worked on during this week?" and "What defects were fixed in these changes?"

The approach described above is working well if you review changes based on generic criteria ("changes by X within Y days") that you can search changesets by. Alternative to that approach would be work item driven approach, where you would specify queries such as "All bugs fixed by X during Y days", "All changes related to feature X", "Changes associated with reopened bugs" etc. Sidekick provides for this approach as well; instead of selecting changesets, you may select work items (by opening Sidekick from “Tools->Team Foundation Sidekicks” menu, and clicking Work Items button):

Once work items are selected, Code Review Sidekick window will be populated with file revisions (retrieved based on changesets, associated with work items).

The changesets associated with selected work items are available through Changesets tab.

Once the set of file revisions is retrieved (based on changesets or work items), you can compare the between two revisions of the file in view or between the revision in view and revision not in view (the most recent change not contained in the set of reviewed changes); also one can view the changeset details in standard “Changeset Details” window. The file revisions in the view may be filtered by the file name or by user name

Additional feature available when doing either review by changeset or review by work item is the ability to pick and choose changesets/work items; thus if query results is too general, you can select entries of interest without re-running the query. Or once "pick and choose" mode is enabled, you can remove unneeded entries from the list.

Using Code Review Sidekick, you can facilitate more formal code reviews or just keep abreast of the changes in a large project you work on (for example, by looking at the daily changes performed by the member of your team). Myself, I found it especially helpful when working with distributed team; first thing in the morning I fire it up to see what are the changes performed overnight.

However, it is important to understand that Sidekick works only with committed (that is checked in) files; it does not help with code reviews that involve shelvesets and in which the un-reviewed code is never checked in. We are considering implementing a tool for that scenario; if you feel strongly about it, please leave a comment.

Posted by Eugene Zakhareyev | 2 comment(s)
תגים:, ,

Team Foundation Sidekicks 2.2 is released (and with a new Sidekick too)!

I am very proud to announce new Team Foundation Sidekicks release. In addition to numerous bug fixes and improvements, version 2.2 contains all new Permission Sidekick.

Let me start with minor changes and then present new Sidekicks family member.

Features

  • Code Review Sidekick: Added work item association indication in changesets for review list (those associated with at least one WI, will have * next to changeset ID)
  • Code Review Sidekick: Allow to compare version of file in view with previous not-in-view version
  • Labels Sidekick: Allow saving to CSV list of changesets/work items in label
  • Visual Studio integration: allow separate configuration of “Dynamic History” option for folders/files

Bug fixes

  • BUGFIX: stand-alone not working in environments with VS/TE2005 installed together with VS2008 (no TE)
  • BUGFIX: duplicate files in Code Review Sidekick when same work items are linked to multiple changesets
  • BUGFIX: dynamic history sometimes corrupts History tool-window contents

Let me conclude with brand new Permission Sidekick features list. This Sidekick provides effective permissions view for the selected user (including global server, project, version control items and areas permissions) as well as the view what groups contribute to current effective permissions.

More specifically, Permission Sidekick lets you to

  • Select user whose effective permissions are to be reviewed
  • View Team Foundation Server groups user is a member of (Windows domain groups are not included)
  • View user's global TFS server permissions
  • Select Team project to view project specific effective permissions
  • View user's Team project's permissions
  • Select project's version control folder/file and view effective version control permissions for that item (including indication whether permissions are inherited or explicitly set)
  • Select project's area and view effective permissions for that area
  • For every effective permissions display, view a reason for every effective permission setting - namely, for which groups Allow/Deny permissions are set and therefore what effective permission is based on

Please note that current version of Permission Sidekick does not list Windows groups when displaying user’s membership information (nor does it show the groups in effective permission detail). Generally, this is going to be a problem only if you set permissions based on Windows groups and not TFS groups.

I am going to write up more detailed description of Permission Sidekick in the near future, so stay tuned!

As always, thanks to everybody in the community who contributed to this release, and especially to James Glenn, Michael Bulgrien, Chris McLeod, Ken Sponaugle and Jaap Mosselman.

Posted by Eugene Zakhareyev | 2 comment(s)
תגים:

Source Analysis For C# Checkin Policy

I guess by now everybody has heard about the release of Microsoft Source Analysis For C#. Though this blog usually dedicated to Sidekicks, I thought I'd pass this one (may be we could call it Source Analysis Sidekick Checkin Policy for that puprose :). The excerpt from the post on my personal blog follows:

"...here is Source Analysis For C# Checkin policy (that uses Microsoft Source Analysis engine released several days ago to perform actual analysis). You can get either MSI installer or the source code. Usual caveats (both the compiled version and source code are provided AS IS with no warranties of any kind) apply.

Once you install the check-in policy using MSI above, you are set (since it includes required assemblies from Source Analysis distribution). Only prerequisite is VS 2008 with Team Explorer installed."

Enjoy!

 

 

Posted by Eugene Zakhareyev | 1 comment(s)
תגים:

MSBuild Sidekick documentation is available!

When we released version 2.1 of the Sidekick, the original post failed to mention one pretty significant feature available in version 2.1. The new installer includes not only the application itself but also the manual (in PDF format) to help you leverage MSBuild Sidekick functionality.

The document contains description of UI elements, large number of helpful how-to hints and walkthroughs with application usage. It is accessible upon installation of the application through Start->MSBuild Sidekick menu (or just locate it in the application folder in Program Files).

We have received several requests for better documentation while in fact the documentation was there! So hopefully that post will help some users out there.

 

Get Team Foundation Sidekicks 2.1!

Only three months after release of version 2.0, we made available the next version of Team Foundation Sidekicks. And even though it is labeled 2.1 it contains lots of bug fixes and some important features.

Features

  • Code Review Sidekick: code review by work item is available (selecting changesets through associated work items)
  • Code Review Sidekick: list of associated work items is available for changesets reviewed
  • Code Review Sidekick: filtering of items revisions list by user or file name is available
  • Shelveset Sidekick: saving of the contents for the whole shelveset is supported
  • Labels Sidekick, History Sidekick, Code Review Sidekick: View changeset details is supported for all lists containing changesets
  • Visual Studio integration: all Sidekicks are available in stand-alone application are available in Visual Studio (through Tools->Team Foundation Sidekicks menu)
  • Visual Studio integration: operations on build types are supported for TFS 2008 custom build type files locations

Bug fixes

  • BUGFIX: to configure Sidekicks on Vista requires administrative priviliges. In 2.1 we made a change to use Documents and Settings folder for user-specific configuration 
  • BUGFIX: VSIP for VS 2008 generates error on load in Output toolwindow
  • BUGFIX: VSIP dynamic history enabled together with auto-hide History toolwindow may lead to intermittent error messages
  • BUGFIX: When installing on workstation with VS2005 and VS2008, only VS2008 version of VSIP gets registered
  • BUGFIX: Multiple selection with keyboard on certain lists is not possible
  • UI improvements

The features and bugs fixed in this release were mainly driven by the community (as we got huge amount of feedback after 2.0 release). Thanks for bug spotting and feature suggestions go to Arnold Jan van der Burg, James Glenn, Grant Holiday, David Jansen, Jeff Walsh, Chris McLeod, Nathan Cripps, Ryan Adler, Sam Gardiner, Vaas Rudolf, Gary Winningham and Martin Huser. And this release could not happen without Roman Klevcov and Nikolay Surdo working on it in "trenches". 

 As always, let us have a piece of your mind through the blog or by email (to tfs_at_attrice_dot_info).

Posted by Eugene Zakhareyev | 6 comment(s)
תגים:

MSBuild Sidekick 2.1 is available

Talk about Fools' Day joke - but on 1st of April we have released version 2.1 of MSBuild Sidekick. This version contains quite a few bug fixes, but we managed to put several new features in it too:

  • When .Net schema version is selected in Build Options dialog, the application now will use the appropriate set of MSBuild assemblies for the build (previous version used 3.5 to build 2.0 schema projects when .Net 3.5 Framework was installed). That way build can be performed with exactly the same version of the engine (no matter versions of .Net installed)
  • Find and Refactoring dialogs all contain XML source windows and all list views are sortable
  • The application supports registry properties for MSBuild 3.5 schema projects
  • Auto version update is implemented

The new version is available here; if you have purchased license for 2.0 you can upgrade to version 2.1 at no cost. And as always, if you have any questions, concerns or feedback, you do not have to buy a license to drop us a line.

Posted by Eugene Zakhareyev | 4 comment(s)
תגים:,

Team Foundation Sidekicks in a nutshell

For a short survey of functionality available in Team Foundation Sidekicks 2.0, check out March edition of TFS Times newsletter online (or if you prefer it in PDF, download it here).

Posted by Eugene Zakhareyev | with no comments
תגים:,
More Posts Next page »