The TfsRollUp plugin exposes a management interface that can be consumed by PowerShell (it's managed code). The communication between the client and the plugin uses NetNamedPipeBinding, so you need to be on the Tfs box to use it, or use PowerShell remoting (Enter-PSSession).

TfsRollUp uses the .NET 4 Framework, so a default PowerShell sessions needs to be made aware of this fact. If not, you'll see this error: This assembly is built by a runtime newer than the currently loaded

Create a powershell.exe.config (and powershell_ise.exe if you use that one too) with the contents below (remember to be Administrator when writing the folders) and in all the System32\WindowsPowerShell\v1.0, i.e. for Windows 7 its C:\windows\System32\WindowsPowerShell\v1.0 and C:\windows\SysWOW64\WindowsPowerShell\v1.0.

<?xml version="1.0"?>
<configuration>
  <startup useLegacyV2RuntimeActivationPolicy="true">
       <supportedRuntime version="v4.0.30319"/>
       <supportedRuntime version="v2.0.50727"/>
   </startup>
</configuration>


Last edited Jul 27, 2011 at 11:47 PM by GertGregers, version 8

Comments

No comments yet.