Steven Wilssens http://steven.wilssens.net/ Imagination is more importand then knowledge Steven Wilssens Wed, 09 Aug 2006 11:29:59 GMT newtelligence dasBlog 1.7.5016.2 Steven.Wilssens@telenet.be Steven.Wilssens@telenet.be http://steven.wilssens.net/Trackback.aspx?guid=0e0473c1-f008-47d8-a2e6-a8f2455be110 http://steven.wilssens.net/pingback.aspx http://steven.wilssens.net/PermaLink.aspx?guid=0e0473c1-f008-47d8-a2e6-a8f2455be110 http://steven.wilssens.net/CommentView.aspx?guid=0e0473c1-f008-47d8-a2e6-a8f2455be110 http://steven.wilssens.net/SyndicationService.asmx/GetEntryCommentsRss?guid=0e0473c1-f008-47d8-a2e6-a8f2455be110 0

On of the extensibility features of Team Foundation Server is the ability to subscribe to Team System Events.  To my knowledge you can manage these subscriptions with the BisSubscribe.exe command-line utility, the client API’s or the EventService web service.   You use these tools to retrieve event subscription information if you provide the information on who created the event subscription or the subscription ID. 

Unfortunately they do not allow you to get a list of all the event subscriptions that are made on a particular team foundation server.  This can come in handy when you need an overview of and maintain the list of subscriptions on your server.  Since there is no standard way to accomplish this, I arranged a get together with my good friends Mr. Reflection, Mr. Private Method, Mrs. Internal Method and Mrs. Private Field and we came up with the underlying code sample which returns the event subscriptions for your Team Foundation Server:

/// <summary>
/// Gets all <see cref="Subscription"/> instances for a team foundation server
/// </summary>
private Subscription[] Subscriptions()
{
// 1. Get an instance of the types on which we will perform reflection
// The SubscriptionOnServer contains the logic for retrieving event subscriptions
Type subscriptionOnServerType =typeof(SubscriptionOnServer);
// The SubscriptionOnServer contains the logic for executing stored procedures
Type dbType = subscriptionOnServerType.Assembly.GetType("Microsoft.TeamFoundation.Server.DB");

// 2. Get an instance of the subscriptionOnServer class through its factory method
MethodInfo serivceMethod = dbType.GetMethod("Service", BindingFlags.Static | BindingFlags.Public);
object service = serivceMethod.Invoke(dbType, null);

// 3. Initialize the connectionstring property of the DB class
MethodInfo initMethod = dbType.GetMethod("Init", BindingFlags.Instance | BindingFlags.NonPublic);
initMethod.Invoke(service, newobject[] { ConfigurationManager.AppSettings["ConnectionString"] });

// 4. Retrieve all the subscriptions on the server
MethodInfo AllBareSubscriptionsMethod = subscriptionOnServerType.GetMethod("AllBareSubscriptions", BindingFlags.Static | BindingFlags.NonPublic);
ArrayList allSubscriptionsOnServer = (ArrayList)AllBareSubscriptionsMethod.Invoke(subscriptionOnServerType, newobject[] { });

// 5. Get the FieldInfo information for the internal subscription field on the SubscriptionOnServer type
FieldInfo subscriptionField = subscriptionOnServerType.GetField("subscription", BindingFlags.NonPublic | BindingFlags.Instance);

// 6. Get the Subscription representation of the SubscriptionOnServer instances that were retrieved
Subscription[] allSubscriptions =new Subscription[allSubscriptionsOnServer.Count];
for (int idx = 0; idx < allSubscriptionsOnServer.Count; idx++)
{
SubscriptionOnServer currentSubscriptionOnServer = (SubscriptionOnServer)allSubscriptionsOnServer[idx];
Subscription currentSubscription = (Subscription)subscriptionField.GetValue(currentSubscriptionOnServer);

allSubscriptions[idx] = currentSubscription;
}
return allSubscriptions;
}

You also need an application configuration file that looks this:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>

    <appSettings>
        <add key="ConnectionString" value="Application Name=TeamFoundation;Persist Security Info=False;Initial Catalog=TfsIntegration;Data Source=QUAOAR;Integrated Security=SSPI"/>
    </appSettings>

</configuration>


  How to retrieve all event subscription made in Team Foundation Server http://steven.wilssens.net/PermaLink.aspx?guid=0e0473c1-f008-47d8-a2e6-a8f2455be110 http://steven.wilssens.net/HowToRetrieveAllEventSubscriptionMadeInTeamFoundationServer.aspx Wed, 09 Aug 2006 11:29:59 GMT <p> <font face=Tahoma color=#000000>On of the extensibility features of Team Foundation Server is the ability to subscribe to Team System Events.&nbsp; To my knowledge you can manage these subscriptions with the BisSubscribe.exe command-line utility, the client API’s or the EventService web service.&nbsp;&nbsp; You use these tools to retrieve event subscription information if you provide the information on who created the event subscription or the subscription ID.&nbsp; </font> </p> <p> <font face=Tahoma color=#000000>Unfortunately they do not allow you to get a list of all the event subscriptions that are made on a particular team foundation server.&nbsp; This can come in handy when you&nbsp;need an overview of and maintain the list of subscriptions on your server.&nbsp; Since there is no standard way&nbsp;to accomplish this, I arranged a get together with my good friends Mr. Reflection, Mr. Private Method, Mrs. Internal Method and Mrs. Private Field and we came up with the underlying code sample which returns the event subscriptions for your Team Foundation Server:</font> </p> <font color=#000000> <p> <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"><span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// Gets all &lt;see cref="Subscription"/&gt; instances for a team foundation server</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">private</span> Subscription[] Subscriptions()<br> {<br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// 1. Get an instance of the types on which we will perform reflection</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// The SubscriptionOnServer contains the logic for retrieving event subscriptions</span> <br> Type subscriptionOnServerType <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">typeof</span>(SubscriptionOnServer);<br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// The SubscriptionOnServer contains the logic for executing stored procedures</span> <br> Type dbType <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> subscriptionOnServerType.Assembly.GetType(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Microsoft.TeamFoundation.Server.DB"</span>);<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// 2. Get an instance of the subscriptionOnServer class through its factory method</span> <br> MethodInfo serivceMethod <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> dbType.GetMethod(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Service"</span>, BindingFlags.Static <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">|</span> BindingFlags.Public);<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">object</span> service <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> serivceMethod.Invoke(dbType, <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">null</span>);<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// 3. Initialize the connectionstring property of the DB class</span> <br> MethodInfo initMethod <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> dbType.GetMethod(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Init"</span>, BindingFlags.Instance <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">|</span> BindingFlags.NonPublic);<br> initMethod.Invoke(service, <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">new</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">object</span>[] { ConfigurationManager.AppSettings[<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"ConnectionString"</span>] });<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// 4. Retrieve all the subscriptions on the server</span> <br> MethodInfo AllBareSubscriptionsMethod <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> subscriptionOnServerType.GetMethod(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"AllBareSubscriptions"</span>, BindingFlags.Static <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">|</span> BindingFlags.NonPublic);<br> ArrayList allSubscriptionsOnServer <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> (ArrayList)AllBareSubscriptionsMethod.Invoke(subscriptionOnServerType, <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">new</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">object</span>[] { });<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// 5. Get the FieldInfo information for the internal subscription field on the SubscriptionOnServer type</span> <br> FieldInfo subscriptionField <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> subscriptionOnServerType.GetField(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"subscription"</span>, BindingFlags.NonPublic <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">|</span> BindingFlags.Instance);<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// 6. Get the Subscription representation of the SubscriptionOnServer instances that were retrieved</span> <br> Subscription[] allSubscriptions <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">new</span> Subscription[allSubscriptionsOnServer.Count];<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">for</span> (<span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">int</span> idx <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> 0; idx &lt; allSubscriptionsOnServer.Count; idx++)<br> {<br> SubscriptionOnServer currentSubscriptionOnServer <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> (SubscriptionOnServer)allSubscriptionsOnServer[idx];<br> Subscription currentSubscription <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> (Subscription)subscriptionField.GetValue(currentSubscriptionOnServer);<br> <br> allSubscriptions[idx] <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> currentSubscription;<br> }<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">return</span> allSubscriptions; <br> }</span> </p> </font> <p> <font face=Tahoma color=#000000>You also need an application configuration file that looks this:</font> </p> <font color=#000000> <p> <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">&lt;?xml version=<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"1.0"</span> encoding=<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"utf-8"</span> ?&gt;<br> &lt;configuration&gt;<br> <br> &nbsp;&nbsp;&nbsp;&nbsp;&lt;appSettings&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;add key=<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"ConnectionString"</span> value=<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Application Name=TeamFoundation;Persist Security Info=False;Initial Catalog=TfsIntegration;Data Source=QUAOAR;Integrated Security=SSPI"</span>/&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&lt;/appSettings&gt;<br> <br> &lt;/configuration&gt;<br> </span> </p> <p> <br> </font>&nbsp;> <img width="0" height="0" src="/aggbug_id_0e0473c1_f008_47d8_a2e6_a8f2455be110.ashx"> http://steven.wilssens.net/CommentView.aspx?guid=0e0473c1-f008-47d8-a2e6-a8f2455be110 SCM
http://steven.wilssens.net/Trackback.aspx?guid=52605a52-0979-493e-84ba-287b45f13d1b http://steven.wilssens.net/pingback.aspx http://steven.wilssens.net/PermaLink.aspx?guid=52605a52-0979-493e-84ba-287b45f13d1b http://steven.wilssens.net/CommentView.aspx?guid=52605a52-0979-493e-84ba-287b45f13d1b http://steven.wilssens.net/SyndicationService.asmx/GetEntryCommentsRss?guid=52605a52-0979-493e-84ba-287b45f13d1b 2

Visual Studio 2005 Team System allows you to add the work item association check-in policy, to your Team Project. It requires you and other team members to associate a work item with each check-in, which is great. 

 

However, it does allow you to associate work items from a team project that is different from the one your changes belong to.  If you have 2 team projects A and B, you are allowed to associate a work item from team project A with changes that were made in team project B.

I’m looking for a valid reason why this should be allowed, so if you have an idea as to why, do not hesitate to help me out here…

Despite the fact that there could be a valid reason to do this, I created a check-in policy that ensures you that you are only allowed to associate a work item for the team project to which the changes belong.  This means you can only associate work items for team project A with changes from team project A.

Update: Removed duplicate PolicyFailure entries.

using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Windows.Forms;

using Microsoft.TeamFoundation.VersionControl.Client;

namespace CheckForCommentsPolicy
{
/// <summary>
/// This policy will check if there is a relationship between the team project to which the pending changes belong to and the team project to which the work items associated with a check-in belong.
/// </summary>
[Serializable]
publicclass ValidateWorkItemAssociation : PolicyBase
{
/// <summary>
/// Creates a default instance of the <see cref="ValidateWorkItemAssociation"/> class.
/// </summary>
public ValidateWorkItemAssociation()
{
InstallationInstructions =@"Create a new string value under [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\TeamFoundation\SourceControl\Checkin Policies]\nKey: ValidateWorkItemAssociationPolicy\nValue: full name of the ValidateWorkItemAssociation.dll file.";
}

/// <summary>
/// This string is a description of the type of our policy. It will be displayed to the
/// user when they select our policy type in the list of policies installed on the system
/// as mentioned above.
/// </summary>
publicoverridestring TypeDescription
{
get { return"Checks the relation between the pending changes and the related work items"; }
}

/// <summary>
/// This is a string that is stored with the policy definition on the source
/// control server. If a user does not have our policy plugin installed, this string
/// will be displayed. We can use this as an opportunity to explain to the user
/// how they might go about installing our policy plugin.
/// </summary>
publicoverridestring InstallationInstructions
{
get
{
returnbase.InstallationInstructions;
}
set
{
base.InstallationInstructions = value;
}
}


/// <summary>
/// This string is the description of the policy. It will be displayed to the user in a list
/// of all installed policy types when they are creating a new policy.
/// </summary>
publicoverridestring Description
{
get { return"This policy will check if there is a relationship between the team project for the pending changes and the team project of the associated work items."; }
}

/// <summary>
/// This string is the type of our policy. It will be displayed to the user in a list
/// of all installed policy types when they are creating a new policy.
/// </summary>
publicoverridestring Type
{
get { return"Check the relation between the pending changes and the related work items."; }
}

/// <summary>
/// This method is invoked by the policy framework when the user creates a new checkin
/// policy or edits an existing checkin policy. We can use this as an opportunity to
/// display UI specific to this policy type allowing the user to change the parameters
/// of the policy.
/// </summary>
publicoverridebool Edit(IPolicyEditArgs policyEditArgs)
{
// no configuration to save
returntrue;
}

/// <summary>
/// This method performs the actual evaluation. It is called by the policy framework at various points in time
/// when policy should be evaluated. In this example, we invoke this method ourselves when various asyc
/// events occur that may have invalidated the current list of failures.
/// </summary>
publicoverride PolicyFailure[] Evaluate()
{
// Make sure we are notified when the user changes his selection of work items
this.PendingCheckin.WorkItems.CheckedWorkItemsChanged -= new EventHandler(CheckedWorkItemsChanged);
this.PendingCheckin.WorkItems.CheckedWorkItemsChanged += new EventHandler(CheckedWorkItemsChanged);

List<PolicyFailure> failures =new List<PolicyFailure>();

foreach (WorkItemCheckinInfo info inthis.PendingCheckin.WorkItems.CheckedWorkItems)
{
if (PendingCheckin.PendingChanges.AffectedTeamProjectPaths.Length > 0)
{
// Get the affected team project path for the first check in
string affectedTeamProjectPath = PendingCheckin.PendingChanges.AffectedTeamProjectPaths[0];
Regex matchTeamProject =new Regex("[^$/][^/]*");
// Retrieve the team project name for the pending change
string affectedTeamProjectName = matchTeamProject.Match(affectedTeamProjectPath).Value;
if (affectedTeamProjectName != info.WorkItem.Project.Name)
{
failures.Add(
new PolicyFailure(
string.Format("Work item with ID '{0}', is not a work item for team project '{1}'.",
info.WorkItem.Id, matchTeamProject.Match(affectedTeamProjectName).Value)
, this)
);
}
}
}
return failures.ToArray();
}

/// <summary>
/// This method is called if the user double-clicks on a policy failure in the UI.
/// We can handle this as we please, potentially prompting the user to perform
/// some activity that would eliminate the policy failure.
/// </summary>
publicoverridevoid Activate(PolicyFailure failure)
{
MessageBox.Show("Please associate a work item that belongs to the same team project as your pending changes.");
}

/// <summary>
/// This method is called if the user presses F1 when a policy failure is active in the UI.
/// We can handle this as we please, displaying help in whatever format is appropriate.
/// For this example, we'll just pop up a dialog.
/// </summary>
publicoverridevoid DisplayHelp(PolicyFailure failure)
{
MessageBox.Show("This policy helps you make sure that you associated work items to a check-in that belong to the same team project as the pending changes.", "Prompt Policy Help");
}

/// <summary>
/// Called when the user changes the work item selection during a check-in
/// </summary>
privatevoid CheckedWorkItemsChanged(object sender, EventArgs e)
{
this.OnPolicyStateChanged(Evaluate());
}
}
}


Work Item Association during check-in http://steven.wilssens.net/PermaLink.aspx?guid=52605a52-0979-493e-84ba-287b45f13d1b http://steven.wilssens.net/WorkItemAssociationDuringCheckin.aspx Tue, 04 Jul 2006 09:31:25 GMT <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <font face=Tahoma><font color=#000000>Visual Studio 2005 Team System allows you to add the <i style="mso-bidi-font-style: normal">work item association</i> check-in policy, to your Team Project. It requires you and other team members to associate a work item with each check-in, which is great.<span style="mso-spacerun: yes">&nbsp; </span></font></font> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <font face=Tahoma color=#000000></font>&nbsp; </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <font face=Tahoma color=#000000>However, it does allow you to associate work items from a team project that is different from the one your changes belong to.<span style="mso-spacerun: yes">&nbsp; </span>If you have 2 team projects <em>A</em> and <em>B</em>, you are allowed to associate a work item from team project <em>A</em> with changes that were made in team project <em>B</em>.</font> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <font face=Tahoma color=#000000>I’m looking for a valid reason why this should be allowed, so if you have an idea as to why, do not hesitate to help me out here…</font> </p> <p> <font face=Tahoma color=#000000>Despite the fact that there could be a valid reason to do this, I created a check-in policy that&nbsp;ensures you that you are only allowed to associate a work item for the team project to which the changes belong.<span style="mso-spacerun: yes">&nbsp; </span>This means you can only associate work items for team project <em>A</em> with changes from team project <em>A</em>.</font> </p> <p> <font face=Tahoma color=#000000><font color=#ff0000>Update: Removed duplicate PolicyFailure&nbsp;entries.</font> </font> </p> <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"> <p> <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">using</span> System;<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">using</span> System.Collections.Generic;<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">using</span> System.Text.RegularExpressions;<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">using</span> System.Windows.Forms;<br> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">using</span> Microsoft.TeamFoundation.VersionControl.Client;<br> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">namespace</span> CheckForCommentsPolicy<br> {<br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// This policy will check if there is a relationship between the team project to which the pending changes belong to and the team project to which the work items associated with a check-in belong.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> [Serializable]<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">public</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">class</span> ValidateWorkItemAssociation : PolicyBase<br> {<br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// Creates a default instance of the &lt;see cref="ValidateWorkItemAssociation"/&gt; class.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">public</span> ValidateWorkItemAssociation()<br> {<br> InstallationInstructions <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> <span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">@"Create a new string value under [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\TeamFoundation\SourceControl\Checkin Policies]\nKey: ValidateWorkItemAssociationPolicy\nValue: full name of the ValidateWorkItemAssociation.dll file."</span>;<br> }<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// This string is a description of the type of our policy. It will be displayed to the</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// user when they select our policy type in the list of policies installed on the system</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// as mentioned above.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">public</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">override</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">string</span> TypeDescription<br> {<br> get { <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">return</span> <span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Checks the relation between the pending changes and the related work items"</span>; }<br> }<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// This is a string that is stored with the policy definition on the source</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// control server. If a user does not have our policy plugin installed, this string</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// will be displayed. We can use this as an opportunity to explain to the user</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// how they might go about installing our policy plugin.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">public</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">override</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">string</span> InstallationInstructions<br> {<br> get<br> {<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">return</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">base</span>.InstallationInstructions;<br> }<br> set<br> {<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">base</span>.InstallationInstructions <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> value;<br> }<br> }<br> <br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// This string is the description of the policy. It will be displayed to the user in a list</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// of all installed policy types when they are creating a new policy.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">public</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">override</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">string</span> Description<br> {<br> get { <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">return</span> <span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"This policy will check if there is a relationship between the team project for the pending changes and the team project of the associated work items."</span>; }<br> }<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// This string is the type of our policy. It will be displayed to the user in a list</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// of all installed policy types when they are creating a new policy.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">public</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">override</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">string</span> Type<br> {<br> get { <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">return</span> <span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Check the relation between the pending changes and the related work items."</span>; }<br> }<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// This method is invoked by the policy framework when the user creates a new checkin</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// policy or edits an existing checkin policy. We can use this as an opportunity to</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// display UI specific to this policy type allowing the user to change the parameters</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// of the policy.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">public</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">override</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">bool</span> Edit(IPolicyEditArgs policyEditArgs)<br> {<br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// no configuration to save</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">return</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">true</span>;<br> }<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// This method performs the actual evaluation. It is called by the policy framework at various points in time</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// when policy should be evaluated. In this example, we invoke this method ourselves when various asyc</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// events occur that may have invalidated the current list of failures.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">public</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">override</span> PolicyFailure[] Evaluate()<br> {<br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// Make sure we are notified when the user changes his selection of work items</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">this</span>.PendingCheckin.WorkItems.CheckedWorkItemsChanged -= <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">new</span> EventHandler(CheckedWorkItemsChanged);<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">this</span>.PendingCheckin.WorkItems.CheckedWorkItemsChanged += <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">new</span> EventHandler(CheckedWorkItemsChanged);<br> <br> List&lt;PolicyFailure&gt; failures <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">new</span> List&lt;PolicyFailure&gt;();<br> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">foreach</span> (WorkItemCheckinInfo info <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">in</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">this</span>.PendingCheckin.WorkItems.CheckedWorkItems)<br> {<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">if</span> (PendingCheckin.PendingChanges.AffectedTeamProjectPaths.Length &gt; 0)<br> {<br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// Get the affected team project path for the first check in</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">string</span> affectedTeamProjectPath <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> PendingCheckin.PendingChanges.AffectedTeamProjectPaths[0];<br> Regex matchTeamProject <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">new</span> Regex(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"[^$/][^/]*"</span>);<br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">// Retrieve the team project name for the pending change</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">string</span> affectedTeamProjectName <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> matchTeamProject.Match(affectedTeamProjectPath).Value;<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">if</span> (affectedTeamProjectName !<span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> info.WorkItem.Project.Name)<br> {<br> failures.Add(<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">new</span> PolicyFailure(<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">string</span>.Format(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Work item with ID '{0}', is not a work item for team project '{1}'."</span>,<br> info.WorkItem.Id, matchTeamProject.Match(affectedTeamProjectName).Value)<br> , <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">this</span>)<br> );<br> }<br> }<br> }<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">return</span> failures.ToArray();<br> }<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// This method is called if the user double-clicks on a policy failure in the UI.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// We can handle this as we please, potentially prompting the user to perform</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// some activity that would eliminate the policy failure.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">public</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">override</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">void</span> Activate(PolicyFailure failure)<br> {<br> MessageBox.Show(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Please associate a work item that belongs to the same team project as your pending changes."</span>);<br> }<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// This method is called if the user presses F1 when a policy failure is active in the UI.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// We can handle this as we please, displaying help in whatever format is appropriate.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// For this example, we'll just pop up a dialog.</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">public</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">override</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">void</span> DisplayHelp(PolicyFailure failure)<br> {<br> MessageBox.Show(<span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"This policy helps you make sure that you associated work items to a check-in that belong to the same team project as the pending changes."</span>, <span style="FONT-SIZE: 11px; COLOR: #666666; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e4e4e4">"Prompt Policy Help"</span>);<br> }<br> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// Called when the user changes the work item selection during a check-in</span> <br> <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">/// &lt;/summary&gt;</span> <br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">private</span> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">void</span> CheckedWorkItemsChanged(<span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">object</span> sender, EventArgs e)<br> {<br> <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">this</span>.OnPolicyStateChanged(Evaluate());<br> }<br> }<br> }<br> </span> </p> <p> <br> </p> </span><img width="0" height="0" src="/aggbug_id_52605a52_0979_493e_84ba_287b45f13d1b.ashx"> http://steven.wilssens.net/CommentView.aspx?guid=52605a52-0979-493e-84ba-287b45f13d1b SCM
http://steven.wilssens.net/Trackback.aspx?guid=1d6e4d14-e638-4c43-8937-4bcb25defd01 http://steven.wilssens.net/pingback.aspx http://steven.wilssens.net/PermaLink.aspx?guid=1d6e4d14-e638-4c43-8937-4bcb25defd01 http://steven.wilssens.net/CommentView.aspx?guid=1d6e4d14-e638-4c43-8937-4bcb25defd01 http://steven.wilssens.net/SyndicationService.asmx/GetEntryCommentsRss?guid=1d6e4d14-e638-4c43-8937-4bcb25defd01 0 Reminder: Visual Studio Team System Workshop by VISUG http://steven.wilssens.net/PermaLink.aspx?guid=1d6e4d14-e638-4c43-8937-4bcb25defd01 http://steven.wilssens.net/ReminderVisualStudioTeamSystemWorkshopByVISUG.aspx Fri, 23 Jun 2006 08:47:09 GMT <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <span lang=EN-US style="mso-ansi-language: EN-US"><font face=Tahoma color=#000000><strong>Reminder:</strong></font></span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <span lang=EN-US style="mso-ansi-language: EN-US"><font face=Tahoma color=#000000></font></span>&nbsp; </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <span lang=EN-US style="mso-ansi-language: EN-US"><font face=Tahoma color=#000000>The </font><a href="#topofpage"><font face=Tahoma color=#0000ff>Belgian Visual Studio User Group</font></a><font face=Tahoma color=#000000> organizes a 1 ½ day </font></span><a href="#topofpage" target=_blank><span lang=EN-US style="mso-ansi-language: EN-US"><font face=Tahoma color=#0000ff>seminar around Visual Studio Team System</font></span></a><span lang=EN-US style="mso-ansi-language: EN-US"><font face=Tahoma color=#000000> on 30 June and 1 July.&nbsp;&nbsp;There are still some seats available, so if you are interested in learning about Team System in a User Group kind of way (real high risk live demo's, with live coding and hopefully a happy ending :-) )</font></span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <span lang=EN-US style="mso-ansi-language: EN-US"><font face=Tahoma color=#000000></font></span>&nbsp; </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <b><span lang=EN-US style="mso-ansi-language: EN-US"><font color=#000000><font face=Tahoma><?xml:namespace prefix = u2 />Description:<u2:p></u2:p> </font></font></span></b><span lang=EN-US style="mso-ansi-language: EN-US"> <br> <font color=#000000><font face=Tahoma><?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />This day and a half community event provides VISUG members with deep dive information on Visual Studio Team System 2005. During this event we will demonstrate the capabilities Visual Studio Team System <st1:metricconverter u1:st="on" ProductID="2005 in"> <st1:metricconverter ProductID="2005 in" w:st="on">2005 in</st1:metricconverter> </st1:metricconverter> a way only user group can: not in theory but by live examples.<u2:p></u2:p><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> <o:p></o:p> </font></font></span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <b><span lang=EN-US style="mso-ansi-language: EN-US"> <o:p> <font face=Tahoma color=#000000>&nbsp;</font> </o:p> </span></b> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <font color=#000000><font face=Tahoma><b><span lang=EN-US style="mso-ansi-language: EN-US">Event Outline:<u2:p></u2:p> </span></b><span lang=EN-US style="mso-ansi-language: EN-US"> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpFirst style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Event Overview : Overview, Business value of VSTS, core scenarios, licensing <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Planning for VSTS: Hardware and software requirements, selecting projects or solutions <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Deploying &amp; Maintaining Team Foundation Server: Installation, Administration, back up and restore <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Working with Team Foundation Server: Architectural overview, services, extensibility <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Team Projects &amp; Reporting: Project planning, methodology, reports <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Process Template Customization: Process guidance, work item types, workflow <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Source Code Control: Overview, migration, administration <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Building Code (MSBuild): Overview, customization <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Architect Tools: Application designer, class designer, logical datacenter designer, SDM SDK <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Developer Tools: Profiling, code coverage, code analysis <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Testing Tools: Test management, test types, unit testing <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoListParagraphCxSpLast style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; mso-add-space: auto"> <font color=#000000><font face=Tahoma><span lang=EN-US style="mso-ansi-language: EN-US; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri"><span style="mso-list: Ignore">•<span style="FONT: 7pt 'Times New Roman'"><font size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></span></span></span><span lang=EN-US style="mso-ansi-language: EN-US">Integration Scenarios: Commonly encountered integration scenarios <u2:p></u2:p> <o:p></o:p> </span></font></font> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <b><span lang=EN-US style="mso-ansi-language: EN-US"> <o:p> <font face=Tahoma color=#000000>&nbsp;</font> </o:p> </span></b> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <b><span lang=EN-US style="mso-ansi-language: EN-US"><font color=#000000><font face=Tahoma>When:<u2:p></u2:p> </font></font></span></b><span lang=EN-US style="mso-ansi-language: EN-US"> <br> <font color=#000000><font face=Tahoma>Friday 30 June 2006 from 13:00 until 17:00<br> Saturday 1 July 2006 from 9:00 until 16:00<u2:p></u2:p> &nbsp;<u2:p></u2:p> <o:p></o:p> </font></font></span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <b><span lang=EN-US style="mso-ansi-language: EN-US"> <o:p> <font face=Tahoma color=#000000>&nbsp;</font> </o:p> </span></b> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <b><span lang=EN-US style="mso-ansi-language: EN-US"><font color=#000000><font face=Tahoma>Where:<u2:p></u2:p> </font></font></span></b><span lang=EN-US style="mso-ansi-language: EN-US"> <br> <a href="#topofpage"><font face=Tahoma color=#000000>Compuware Belgium</font></a> <o:p></o:p> </span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <b><span lang=EN-US style="mso-ansi-language: EN-US"> <o:p> <font face=Tahoma color=#000000>&nbsp;</font> </o:p> </span></b> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <strong><span lang=EN-US style="FONT-FAMILY: 'Calibri','sans-serif'; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi"><font face=Tahoma color=#000000>How to register:</font></span></strong><span lang=EN-US style="mso-ansi-language: EN-US"> <br> <font face=Tahoma color=#000000>Send an email to </font><a href="mailto:Steven.Wilssens@Compuware.com"><font face=Tahoma color=#000000>Steven Wilssens</font></a><font color=#000000><font face=Tahoma>, which contains your name and the fact that you want to attend the event. Remember, there are 30 seats available for this event, so register as soon as possible.<o:p></o:p> </font></font></span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <b><span lang=EN-US style="mso-ansi-language: EN-US"> <o:p> <font face=Tahoma color=#000000>&nbsp;</font> </o:p> </span></b> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt"> <b><span lang=EN-US style="mso-ansi-language: EN-US"><font color=#000000><font face=Tahoma>Subscription Fee:<u2:p></u2:p> </font></font></span></b><span lang=EN-US style="mso-ansi-language: EN-US"> <br> <font face=Tahoma color=#000000>As with all Visual Studio User Group events, it is available to our Visual Studio User Group Members at no cost.</font></span> </p> <img width="0" height="0" src="/aggbug_id_1d6e4d14_e638_4c43_8937_4bcb25defd01.ashx"> http://steven.wilssens.net/CommentView.aspx?guid=1d6e4d14-e638-4c43-8937-4bcb25defd01 SCM http://steven.wilssens.net/Trackback.aspx?guid=3c2e75c9-3688-4dd2-ac76-914fda0f100e http://steven.wilssens.net/pingback.aspx http://steven.wilssens.net/PermaLink.aspx?guid=3c2e75c9-3688-4dd2-ac76-914fda0f100e http://steven.wilssens.net/CommentView.aspx?guid=3c2e75c9-3688-4dd2-ac76-914fda0f100e http://steven.wilssens.net/SyndicationService.asmx/GetEntryCommentsRss?guid=3c2e75c9-3688-4dd2-ac76-914fda0f100e 0 These are the presentations and the code demo's Jelle Druyts and I used during the Microsoft Developer & IT Pro Days 2006 in Belgium on 8th of March.
The Best Practices for Application Development (Jelle Druyts and Steven Wilssens):
Best Practices For Application Development.zip
Demo 01 - Enterprise Library.zip
Demo 02 - Enterprise Library and Command Pattern.zip
Demo 03 - Test Driven Development.zip
Best Practices for Advanced Source Control: Beyond CheckOut and CheckIn (Steven Wilssens):
Advanced Source Control - PART I.zip
Advanced Source Control - PART II.zip
Advanced Source Control - PART III.zip
Final version of Slides and Demo's Developer and IT Pro Days 2006 http://steven.wilssens.net/PermaLink.aspx?guid=3c2e75c9-3688-4dd2-ac76-914fda0f100e http://steven.wilssens.net/FinalVersionOfSlidesAndDemosDeveloperAndITProDays2006.aspx Wed, 15 Mar 2006 10:31:09 GMT <font color=#000000>These are the presentations and the code demo's</font> <a href="#topofpage"><font color=#0000ff size=2>Jelle Druyts</font></a> <font color=#000000>and </font><a href="#topofpage"><font color=#0000ff size=2>I</font></a> <font color=#000000>used during the </font><a href="#topofpage"><font color=#0000ff size=2>Microsoft Developer &amp; IT Pro Days 2006 in Belgium on 8th of March.</font></a> <br> <table style="WIDTH: 100%" cellspacing=0 cellpadding=0 border=0> <tbody> <tr> <td style="WIDTH: 30px" valign=top align=left> <span style="FONT-SIZE: 10pt"><font color=#000000>•</font></span></td> <td valign=top align=left> <a href="#topofpage"><font color=#0000ff size=2>The Best Practices for Application Development (Jelle Druyts and Steven Wilssens):</font></a> <br> <a href="/content/binary/Best20Practices20For20Application20Development.zip"><font color=#0000ff size=2>Best Practices For Application Development.zip</font></a> <br> <a href="/content/binary/Demo200120_20Enterprise20Library.zip"><font color=#0000ff size=2>Demo 01 - Enterprise Library.zip</font></a> <br> <a href="/content/binary/Demo200220_20Enterprise20Library20and20Command20Pattern.zip"><font color=#0000ff size=2>Demo 02 - Enterprise Library and Command Pattern.zip</font></a> <br> <a href="/content/binary/Demo200320_20Test20Driven20Development.zip"><font color=#0000ff size=2>Demo 03 - Test Driven Development.zip</font></a> <br> </td> </tr> <tr> <td style="WIDTH: 30px" valign=top align=left> <span style="FONT-SIZE: 10pt"><font color=#000000>•</font></span></td> <td valign=top align=left> <a href="#topofpage"><font color=#0000ff size=2>Best Practices for Advanced Source Control: Beyond CheckOut and CheckIn (Steven Wilssens):</font></a> <br> <a href="/content/binary/Advanced20Source20Control20_20PART20I.zip"><font color=#0000ff size=2>Advanced Source Control - PART I.zip</font></a> <br> <a href="/content/binary/Advanced20Source20Control20_20PART20II.zip"><font color=#0000ff size=2>Advanced Source Control - PART II.zip</font></a> <br> <a href="/content/binary/Advanced20Source20Control20_20PART20III.zip"><font color=#0000ff size=2>Advanced Source Control - PART III.zip</font></a> <br> </td> </tr> </tbody> </table> <img width="0" height="0" src="/aggbug_id_3c2e75c9_3688_4dd2_ac76_914fda0f100e.ashx"> http://steven.wilssens.net/CommentView.aspx?guid=3c2e75c9-3688-4dd2-ac76-914fda0f100e .NET 2.0
http://steven.wilssens.net/Trackback.aspx?guid=b7fceb49-13fe-4216-a59e-0eb36c195ab7 http://steven.wilssens.net/pingback.aspx http://steven.wilssens.net/PermaLink.aspx?guid=b7fceb49-13fe-4216-a59e-0eb36c195ab7 http://steven.wilssens.net/CommentView.aspx?guid=b7fceb49-13fe-4216-a59e-0eb36c195ab7 http://steven.wilssens.net/SyndicationService.asmx/GetEntryCommentsRss?guid=b7fceb49-13fe-4216-a59e-0eb36c195ab7 2

In a previous post I stated the goals of successful configuration management and as you undoubtedly realized they are not easily accomplished in the field.  Now I'll try to give you an insight on how Team System helps you to tame this untamable beast.

A good SCM process makes it possible for developers to work together on a project in an efficient manner, both as individuals and as members of a team.  A development team must constantly manage requirements, tasks, source code, bugs and reports.  Gathering each of these item types in the same tool strengthens the communication pathways of teams and software.

Based on the goals mentioned in the previous post on SCM I'll try to indicate how Team System helps you to accomplish them:

·   Configuration identification:   This is often reffered as the process of recognizing the baseline applicability to a set of configuration items. It refers both not only to source, but all documents that contribute to the baseline.  Examples are:
·   All code files
·   Compilers
·   Compile / build scripts
·   Installation and configuration files
·   Inspection lists
·   Design documents
·   Test reports
·   Manuals
·   System configurations (e.g. version of compiler used)
Team System provides this capability through the concept of Work Item Tracking. A work item can define any unit of information that is part of the software development lifecycle. It can be any of the abovementioned Configuration Items. A powerful feature of Team System is that you can link work items to other artifacts, this allows your developers and manager to track which changes are related to which requirements, bugs.

·   Configuration Control:   Refers to the policy, rules, procedures, information, activities, roles, authorization levels, and states relating to the creation, updates, approvals, tracking and archiving of items involved with the implementation of a change request.
With Team System policies can be created and enabled inside Visual Studio that will enforce following standard check-in conditions, as well as others:
·   Clean Build: The project must compile without errors before check-in.
·   Statis Analyses:  Static analyses must be run before check-in
·   Testing Policy: Smoke-tests, unit-tests must be run before check-in
·   Work Items: On ore more work items must be associated with the check in.
You can also configure Team System to trak additional check in notes.  The standard notes in MSF Agile are: Security Reviewer, Code Reviewer and Performance Reviewer.  As with the most part of Team System, this is again fully custumizable.
Roles and authorization levels are covered by Team System Security.  By locking down privileged operations to only a few members, you can ensure that the roles within your team are always enforced.  You can for example specify which team members can administer, start or resume a build and so much more.

·   Status accounting: Recording and reporting the status of components and change requests and gathering vital statistics about components in the product.
Team System is hosted on SQL Server 2005 and its built-in reporting capabilities. As many as 50 pre-built reports are expected to ship with the release of Team System. These will include reports on: Project health, code churn, test pass, test coverage, active bugs,... These reports are directly available from the Reporting Services report manager portal or can be viewed on the project portal.

·   Configuration verification and audit: Verify that a product’s requirements have been met and the product design that meets those requirements has been accurately documented before a product configuration is released.Before acceptance into the live environment, new Releases, builds, equipment and standards should be verified against the contracted or specified requirements.
This is where the Dynamic Systems Initiative (DSI) comes into play.  DSI is a way to design for deployment or to put it in another way to design for operations. Key features of DSI are:
·   The visualization of systems and services
·   tracking of each system or service to properly describe it to another system or service.
It will in other words allow solution architect's to validate their design against an infrastructure architects's datacenter design and visa versa.  The first Microsoft implementation of DSI will be called the System Definition Model (SDM).  SDM describes your application and its deployment environment in layers.  The following layers are defined:
·   Application
·   Application Hosting
·   Logical Machines and Network Topology
·   Hardware
Microsoft will furter expand on their Dynamic Systems Initiative and will utilize the SDM model in Systems Managment Server(SMS) and Microsoft Operations Manager(MOM).

·   Build management:   Manage the processes and tools that are used to create a repeatable and automatic build.
Team System's Team Build provides an out-of-the-box solution to meet following requirements:
·   Get source code files for the build from the source code repository
·   Run static code analysis
·   Compile sources
·   Run unit tests
·   Save code churn, code coverage and other build information
·   Copy the binaries to a predefined location
·   Generate reports
The build automation tool in Team System provides you with an out-of-the box solution to meet these requirements.  The wizard helps you create an automated build script. Since the execution engine of Team Build is MSBuild, you can customize the process and accomplish any number of custom tasks.

·  

Process management:   Enforces consistent processes and promotes user accountability across the application life cycle, resulting in communication and productivity improvements enterprise-wide.
Team System will include two Microsoft Solution Framework(MSF) methodologies:  

·   MSF for Agile Software Development
·   MSF for CMMI improvement
While in MSF Agile it is more important to respond to change than to follow a plan, it is my understanding that MSF for CMMI process improvement is the only MSF methodology that fully provides process management support.  It is an excellent process to use on your project if your company is looking to achieve a measured, baseline competency in software development.  In short it will bring the process management side of the application lifecycle to your company and project.

·   Teamwork:   Controlling the work and interactions between multiple developers on a product.
One of the great advantages of the fact that Team System is such a highly integrated environment, is that it can instantly improve the communication on your team. All members of a team need to be in sync, watching their managers and need to work together to get their assignments done in time. Managers can always consult what the state of the project is, how much code churn is in the nightly builds, when the project has reached zero bugs,... Your team must constantly manage the same requirements, tasks, source, code bugs and reports. Because of the ways these are integrated in Team System it will automatically strengthen the communication pathways of your team and software.

I hope that by now you will agree that Team System is the new do-it all tool in the SCM's toolbox.  Team System is not a methodology or process but it integrates very well with the MSF methodology. Team System integrates most of the current tools that a Software Configuration Manager has dreamt about.  Microsoft will provide third party tool providers and yourself with an SDK that allows you to take advantage of common functionality that Team System provides.  Well, I cannot imagine a SCM that is not eagerly anticipating the re lease of Visual Studio 2005 Team System, but only time will tell.

SCM and Team System, a marriage made in heaven? http://steven.wilssens.net/PermaLink.aspx?guid=b7fceb49-13fe-4216-a59e-0eb36c195ab7 http://steven.wilssens.net/SCMAndTeamSystemAMarriageMadeInHeaven.aspx Mon, 11 Jul 2005 20:47:44 GMT <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 120%"> <span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"><font color=#000000>In a previous post I stated the goals of successful configuration management and as you undoubtedly realized they are not easily accomplished in the field.&nbsp; Now I'll try to give you an insight on how Team System helps you to tame this untamable beast.</font></span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 120%"> <span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"><font color=#000000>A good SCM process makes it possible for developers to work together on a project in an efficient manner, both as individuals and as members of a team.&nbsp; A development team must constantly manage requirements, tasks, source code, bugs and reports.&nbsp; Gathering each of these item types in the same tool strengthens the communication pathways of teams and software.</font></span> </p> <p> <span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"><font color=#000000>Based on the goals mentioned in the previous post on SCM I'll try to indicate how Team System helps you to accomplish them:</font></span> </p> <p> <table id=Table1 style="FONT-SIZE: 10pt; WIDTH: 100%; FONT-FAMILY: Tahoma"> <tbody> <tr> <td style="WIDTH: 3px" valign=top align=right> <font color=#000000><span>·</span><span style="FONT-WEIGHT: normal; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"> &nbsp; </span></font></td> <td style="WIDTH: 100%"> <span></span><em><font color=#000000><strong>Configuration identification:</strong></font></em><span style="LINE-HEIGHT: 120%"><span><em><font color=#000000>&nbsp; This is often reffered as the process of recognizing the baseline applicability to a set of configuration items. It refers both not only to source, but all documents that contribute to the baseline.&nbsp; Examples are: <br> </font></em></span> <table id=Table2 style="FONT-SIZE: 10pt; WIDTH: 100%; FONT-STYLE: italic; FONT-FAMILY: Tahoma"> <tbody> <tr> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>All code files</span></font></span></td> </tr> <tr style="FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>Compilers</span></font></span></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Compile / build scripts</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px; HEIGHT: 18px"> <font color=#000000></font></td> <td style="WIDTH: 100%; HEIGHT: 18px"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Installation and configuration files</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Inspection lists</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Design documents</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Test reports</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000>· <span>&nbsp; </span><span>Manuals</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000>· <span>&nbsp; </span><span>System configurations (e.g. version of compiler used)</span></font></td> </tr> </tbody> </table> </span><span><font color=#000000>Team System provides this capability through the concept of Work Item Tracking. A work item can define any unit of information that is part of the software development lifecycle. It can be any of the abovementioned Configuration Items. A powerful feature of Team System is that you can link work items to other artifacts, this allows your developers and manager to track which changes are related to which requirements, bugs.<br> <br> </font></span></td> </tr> <tr style="FONT-SIZE: 12pt; FONT-FAMILY: Times New Roman"> <td style="WIDTH: 3px; HEIGHT: 34px" valign=top align=right> <font color=#000000><font face=Tahoma><font size=2><span>·</span><span style="FONT-WEIGHT: normal; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"> &nbsp; </span></font></font></font></td> <td style="WIDTH: 100%; HEIGHT: 34px"> <span></span><span style="FONT-WEIGHT: normal; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"></span><span><em><font face=Tahoma color=#000000 size=2><strong>Configuration Control:</strong></font></em><span><font color=#000000><font face=Tahoma><font size=2><em>&nbsp; Refers to the policy, rules, procedures, information, activities, roles, authorization levels, and states relating to the creation, updates, approvals, tracking and archiving of items involved with the implementation of a change request. <br> </em>With Team System policies can be created and enabled inside Visual Studio that will enforce following standard check-in conditions, as well as others:<br> </font></font></font></span> <table id=Table3 style="FONT-SIZE: 10pt; WIDTH: 100%; FONT-FAMILY: Tahoma"> <tbody> <tr> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>Clean Build: The project must compile without errors before check-in.</span></font></span></td> </tr> <tr style="FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>Statis Analyses:&nbsp; Static analyses must be run before check-in</span></font></span></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Testing Policy: Smoke-tests, unit-tests must be run before check-in</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Work Items: On ore more work items must be associated with the check in.</span></font></td> </tr> </tbody> </table> </span><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><font color=#000000>You can also configure Team System to trak additional check in notes.&nbsp; The standard notes in MSF Agile are: Security Reviewer, Code Reviewer and Performance Reviewer.&nbsp; As with the most part of Team System, this is again fully custumizable.<br> Roles and authorization levels are covered by Team System Security.&nbsp; By locking down privileged operations to only a few members, you can ensure that the roles within your team are always enforced.&nbsp; You can for example specify which team members can administer, start or resume a build and so much more.<br> <br> </font></span></td> </tr> <tr style="FONT-SIZE: 12pt; FONT-FAMILY: Times New Roman"> <td style="WIDTH: 3px; HEIGHT: 21px" valign=top align=right> <font color=#000000><font face=Tahoma><font size=2><span>·</span><span style="FONT-WEIGHT: normal; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"> &nbsp; </span></font></font></font></td> <td style="WIDTH: 100%; HEIGHT: 21px"> <span><span><font color=#000000><font face=Tahoma><font size=2><em><strong>Status accounting:</strong> Recording and reporting the status of components and change requests and gathering vital statistics about components in the product. <br> </em>Team System is hosted on SQL Server 2005 and its built-in reporting capabilities. As many as 50 pre-built reports are expected to ship with the release of Team System. These will include reports on: Project health, code churn, test pass, test coverage, active bugs,... These reports are directly available from the Reporting Services report manager portal or can be viewed on the project portal. <br> <br> </font></font></font></span></span></td> </tr> <tr style="FONT-SIZE: 12pt; FONT-FAMILY: Times New Roman"> <td style="WIDTH: 3px; HEIGHT: 21px" valign=top align=right> <font color=#000000><font face=Tahoma><font size=2><span>·</span><span style="FONT-WEIGHT: normal; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"> &nbsp; </span></font></font></font></td> <td style="WIDTH: 100%; HEIGHT: 21px"> <span></span><span style="FONT-WEIGHT: normal; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"></span><span><span><font color=#000000><font face=Tahoma><font size=2><em><strong>Configuration verification and audit:</strong> Verify that a product’s requirements have been met and the product design that meets those requirements has been accurately documented before a product configuration is released.Before acceptance into the live environment, new Releases, builds, equipment and standards should be verified against the contracted or specified requirements. <br> </em>This is where the Dynamic Systems Initiative (DSI) comes into play.&nbsp; DSI is a way to design for deployment or to put it in another way to design for operations. Key features of DSI are:<br> </font></font></font> <table id=Table4 style="FONT-SIZE: 10pt; WIDTH: 100%; FONT-FAMILY: Tahoma"> <tbody> <tr> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>The visualization of systems and services</span></font></span></td> </tr> <tr style="FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>tracking of each system or service to properly describe it to another system or service.</span></font></span></td> </tr> </tbody> </table> </span></span><font face=Tahoma color=#000000 size=2>It will in other words allow solution architect's to validate their design against an infrastructure architects's datacenter design and visa versa.&nbsp; The first Microsoft implementation of DSI will be called the System Definition Model (SDM).&nbsp; SDM describes your application and its deployment environment in layers.&nbsp; The following layers are defined:<br> </font> <table id=Table5 style="FONT-SIZE: 10pt; WIDTH: 100%; FONT-FAMILY: Tahoma"> <tbody> <tr> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>Application</span></font></span></td> </tr> <tr style="FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>Application Hosting</span></font></span></td> </tr> <tr style="FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <font color=#000000>· <span>&nbsp; </span><span>Logical Machines and Network Topology</span></font></td> </tr> <tr style="FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <font color=#000000>· <span>&nbsp; </span><span>Hardware</span></font></td> </tr> </tbody> </table> <font face=Tahoma color=#000000 size=2>Microsoft will furter expand on their Dynamic Systems Initiative and will utilize the SDM model in Systems Managment Server(SMS) and Microsoft Operations Manager(MOM).<br> <br> </font></td> </tr> <tr style="FONT-SIZE: 12pt; FONT-FAMILY: Times New Roman"> <td style="WIDTH: 3px; HEIGHT: 21px" valign=top align=right> <font color=#000000><font face=Tahoma><font size=2><span>·</span><span style="FONT-WEIGHT: normal; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"> &nbsp; </span></font></font></font></td> <td style="WIDTH: 100%; HEIGHT: 21px"> <span></span><em><font face=Tahoma color=#000000 size=2><strong>Build management:</strong></font></em><span style="LINE-HEIGHT: 120%"><span><font color=#000000><font face=Tahoma><font size=2><em><strong>&nbsp;</strong> Manage the processes and tools that are used to create a repeatable and automatic build.<br> </em>Team System's Team Build provides an out-of-the-box solution to meet following requirements:<br> </font></font></font></span> <table id=Table6 style="FONT-SIZE: 10pt; WIDTH: 100%; FONT-FAMILY: Tahoma"> <tbody> <tr> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>Get source code files for the build from the source code repository</span></font></span></td> </tr> <tr style="FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>Run static code analysis</span></font></span></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Compile sources</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Run unit tests</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Save code churn, code coverage and other build information</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Copy the binaries to a predefined location</span></font></td> </tr> <tr style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="WIDTH: 100%"> <font color=#000000><span>· <span>&nbsp; </span></span><span>Generate reports</span></font></td> </tr> </tbody> </table> </span><span><font face=Tahoma color=#000000 size=2>The build automation tool in Team System provides you with an out-of-the box solution to meet these requirements.&nbsp; The wizard helps you create an automated build script. Since the execution engine of Team Build is MSBuild, you can customize the process and accomplish any number of custom tasks.<br> <br> </font></span></td> </tr> <tr> <td style="WIDTH: 3px; HEIGHT: 21px" valign=top align=right> <font color=#000000><span><strong>·</strong></span><span style="FONT-WEIGHT: normal; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"> &nbsp; </span></font></td> <td style="WIDTH: 100%; HEIGHT: 21px"> <p> <span></span><em><font color=#000000><strong>Process management:</strong></font></em><span style="LINE-HEIGHT: 120%"><font color=#000000><em>&nbsp; Enforces consistent processes and promotes user accountability across the application life cycle, resulting in communication and productivity improvements enterprise-wide. <br> </em></font></span><span style="LINE-HEIGHT: 120%"><font color=#000000>Team System will include two Microsoft Solution Framework(MSF) methodologies: &nbsp;<br> </p> > <table id=Table7 style="FONT-SIZE: 10pt; WIDTH: 100%; FONT-FAMILY: Tahoma"> <tbody> <tr> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>MSF for Agile Software Development</span></font></span></td> </tr> <tr style="FONT-FAMILY: Tahoma"> <td style="WIDTH: 3px"> <font color=#000000></font></td> <td style="FONT-SIZE: 10pt; WIDTH: 100%"> <span><font color=#000000>· <span>&nbsp; </span><span>MSF for CMMI improvement</span></font></span></td> </tr> </tbody> </table> ><font color=#000000>While in MSF Agile it is more important to respond to change than to follow a plan, it is my understanding that MSF for CMMI process improvement is the only MSF methodology that fully provides process management support.&nbsp; It is an excellent process to use on your project if your company is looking to achieve a measured, baseline competency in software development.&nbsp; In short it will bring the process management side of the application lifecycle to your company and project.<br> <br> </font></td> </tr> <tr style="FONT-SIZE: 12pt; FONT-FAMILY: Times New Roman"> <td style="WIDTH: 3px; HEIGHT: 21px" valign=top align=right> <font color=#000000><font face=Tahoma><font size=2><span>·</span><span style="FONT-WEIGHT: normal; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"> &nbsp; </span></font></font></font></td> <td style="WIDTH: 100%; HEIGHT: 21px"> <em><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><font color=#000000><strong>Teamwork:</strong></font></span></em><span><font color=#000000><span style="FONT-FAMILY: Tahoma"><span style="FONT-SIZE: 10pt"><em><strong>&nbsp;</strong> Controlling the work and interactions between multiple developers on a product.<br> </em>One of the great advantages of the fact that Team System is such a highly integrated environment, is that it can instantly improve the communication on your team. All members of a team need to be in sync, watching their managers and need to work together to get their assignments done in time. Managers can always consult what the state of the project is, how much code churn is in the nightly builds, when the project has reached zero bugs,... Your team must constantly manage the same requirements, tasks, source, code bugs and reports. Because of the ways these are integrated in Team System it will automatically strengthen the communication pathways of your team and software.</span></span><font face=Tahoma size=2> <br> </font></font></span></td> </tr> </tbody> </table> </p> <p> <font color=#000000><span style="LINE-HEIGHT: 120%"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">I hope that by now you will agree that Team System is the new do-it all tool in the SCM's toolbox.&nbsp; Team System is not a methodology or process but it integrates very well with the MSF methodology. Team System integrates most of the current tools that a Software Configuration Manager has dreamt about.&nbsp; Microsoft will provide third party tool providers and yourself with an SDK that allows you to take advantage of common functionality that Team System provides.&nbsp; Well, I cannot imagine a SCM that is not eagerly anticipating the re</span></span><span style="LINE-HEIGHT: 120%"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">lease of Visual Studio 2005 Team System, but only time will tell.</span></span></font> </p> <img width="0" height="0" src="/aggbug_id_b7fceb49_13fe_4216_a59e_0eb36c195ab7.ashx"> http://steven.wilssens.net/CommentView.aspx?guid=b7fceb49-13fe-4216-a59e-0eb36c195ab7 SCM
http://steven.wilssens.net/Trackback.aspx?guid=8ccb430c-4ef8-43a0-b24f-f85b19a7a32f http://steven.wilssens.net/pingback.aspx http://steven.wilssens.net/PermaLink.aspx?guid=8ccb430c-4ef8-43a0-b24f-f85b19a7a32f http://steven.wilssens.net/CommentView.aspx?guid=8ccb430c-4ef8-43a0-b24f-f85b19a7a32f http://steven.wilssens.net/SyndicationService.asmx/GetEntryCommentsRss?guid=8ccb430c-4ef8-43a0-b24f-f85b19a7a32f 0 What is Software Configuration Management? http://steven.wilssens.net/PermaLink.aspx?guid=8ccb430c-4ef8-43a0-b24f-f85b19a7a32f http://steven.wilssens.net/WhatIsSoftwareConfigurationManagement.aspx Mon, 25 Apr 2005 20:29:32 GMT <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 120%"> <span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"><font color=#000000><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />Software Configuration Management (SCM) means many things to many people.&nbsp; An excellent&nbsp;place to start is to define the goals of SCM.&nbsp; A good SCM process makes it possible for developers to work together on a project in an efficient manner, both as individuals and as members of a team.&nbsp; Based on different publications we can state that successful configuration management should enable the following:<o:p></o:p> </font></span> </p> <p class=MsoNormal style="MARGIN: 3pt 0cm 3pt 35.7pt; TEXT-INDENT: -17.85pt; LINE-HEIGHT: 120%; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"> <font color=#000000><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><span style="mso-list: Ignore">·<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><em><span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">Configuration identification:</span></em><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">&nbsp; Developers should be able to work together on a project, sharing common code.&nbsp; This allows a developer to fix a bug in the source code for release A while another developer is developing a new feature that is scheduled for release B. <o:p></o:p> </span></font> </p> <p class=MsoNormal style="MARGIN: 3pt 0cm 3pt 35.7pt; TEXT-INDENT: -17.85pt; LINE-HEIGHT: 120%; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"> <font color=#000000><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><span style="mso-list: Ignore">·<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><em><span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">Configuration control:</span></em><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">&nbsp; Ensures that proposed changes to configuration items are fully coordinated and documented.&nbsp; This can for example include the switch from .NET 1.1 to .NET 2.0. <o:p></o:p> </span></font> </p> <p class=MsoNormal style="MARGIN: 3pt 0cm 3pt 35.7pt; TEXT-INDENT: -17.85pt; LINE-HEIGHT: 120%; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"> <font color=#000000><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><span style="mso-list: Ignore">·<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><em><span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">Status accounting audit:</span></em><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">&nbsp; Recording and reporting the status of components and change requests and gathering vital statistics about components in the product.&nbsp; For example: How many files were affected by fixing a bug. <o:p></o:p> </span></font> </p> <p class=MsoNormal style="MARGIN: 3pt 0cm 3pt 35.7pt; TEXT-INDENT: -17.85pt; LINE-HEIGHT: 120%; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"> <font color=#000000><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><span style="mso-list: Ignore">·<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><em><span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">Configuration Verification and Audit:</span></em><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"> Verify that a product’s requirements have been met and the product design that meets those requirements has been accurately documented before a product configuration is released.&nbsp; It’s important to remember that this state needs to be maintained through the entire project lifecycle. <o:p></o:p> </span></font> </p> <p class=MsoNormal style="MARGIN: 3pt 0cm 3pt 35.7pt; TEXT-INDENT: -17.85pt; LINE-HEIGHT: 120%; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"> <font color=#000000><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><span style="mso-list: Ignore">·<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><em><span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">Build management:</span></em><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">&nbsp;Manage the processes and tools that are used to create a repeatable and automatic build. <o:p></o:p> </span></font> </p> <p class=MsoNormal style="MARGIN: 3pt 0cm 3pt 35.7pt; TEXT-INDENT: -17.85pt; LINE-HEIGHT: 120%; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"> <font color=#000000><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><span style="mso-list: Ignore">·<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><em><span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">Process management:</span></em><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"> Enforces consistent processes and promotes user accountability across the application life cycle, resulting in communication and productivity improvements enterprise-wide.&nbsp; You can really see this as getting the heads pointing in the same direction. <o:p></o:p> </span></font> </p> <p class=MsoNormal style="MARGIN: 3pt 0cm 3pt 35.7pt; TEXT-INDENT: -17.85pt; LINE-HEIGHT: 120%; mso-list: l0 level1 lfo1; tab-stops: list 36.0pt"> <font color=#000000><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"><span style="mso-list: Ignore">·<span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><em><span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma">Teamwork:</span></em><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"> Controlling the work and interactions between multiple developers on a product. For example, this addresses the question, "Were all the locally made changes of the programmers merged into the latest release of the product?" <o:p></o:p> </span></font> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 120%"> <span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"> <o:p> <font color=#000000>&nbsp;</font> </o:p> </span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 120%"> <span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"><font color=#000000>SCM did not grow out of a managers wish to limit and control developers in their creativity.&nbsp; It is there to protect you from rogue behavior.&nbsp; The "active rogue" is easier to identify and control because it's out in the open and often verbal.&nbsp; The passive rogue is pretty much anyone on the team who will sacrifice quality when the heat starts to rise.&nbsp;&nbsp;<o:p></o:p> </font></span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 120%"> <span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"><font color=#000000>When crunch time comes, and it will come believe me, you need a process that keeps people from being tempted to put in quick fixes that ultimately degrades the quality of your application.&nbsp; <o:p></o:p> </font></span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 120%"> <span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"> <o:p> <font color=#000000>&nbsp;</font> </o:p> </span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 120%"> <span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"><font color=#000000>I hope that this post has given you an understanding of what SCM has to offer to yourself and your organization.&nbsp; In a following post I will elaborate on the theoretical and practical sides of the wonderful world of the software configuration manager.<o:p></o:p> </font></span> </p> <p class=MsoNormal style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 120%"> <span style="FONT-SIZE: 10pt; LINE-HEIGHT: 120%; FONT-FAMILY: Tahoma"> <o:p> <font color=#000000>&nbsp;</font> </o:p> </span> </p> <img width="0" height="0" src="/aggbug_id_8ccb430c_4ef8_43a0_b24f_f85b19a7a32f.ashx"> http://steven.wilssens.net/CommentView.aspx?guid=8ccb430c-4ef8-43a0-b24f-f85b19a7a32f SCM