For more information about this project, see
http://geekswithblogs.net/jakob/archive/2011/05/17/automatically-merging-work-items-in-tfs-2010.aspxNew in 1.0.6.0After deploying the assembly to the TFS plugin folder, you also need to enable it per collection by modifying the TFS Registry.
To do this, run the following Powershell script, replacing the collection URL with your collection:
Powershell scriptReflection.Assembly::Load("Microsoft.TeamFoundation.Client, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");
$collectionBaseUrl = "http://localhost:8080/tfs/DefaultCollection/";
$tfs = Microsoft.TeamFoundation.Client.TeamFoundationServerFactory::GetServer($collectionBaseUrl);
$collectionHive = $tfs.GetService(Microsoft.TeamFoundation.Framework.Client.ITeamFoundationRegistry);
$collectionHive.SetValue("/Inmeta/MergeEventHandler/Enabled", True);
End Powershell script