Is there a TFS Snapin for PowerShell on x64?

I am trying to use TFSSnapin in PowerShell from C # code using the System.Management.Automation from the PowerShell SDK, however I would like to compile it using "AnyCPU". When I try to debug it in any processor, I get the message "No Plugins Registered", I try to debug it in x86 mode, and it works fine. Anyway, to get plugins registered on x64 PowerShell so that I can use AnyCPU? Or am I just out of luck?

+5
source share
3 answers

No. And it cannot be changed until TFS 2010 Beta 2 as early as possible. See: Why is only Snapin TFS Powershell marked only 32-bit?

+5
source

Now it's possible

Run the following line at the command prompt of the 64-bit PowerShell command prompt

copy
HKLM:\SOFTWARE\Wow6432Node\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.TeamFoundation.PowerShell
 HKLM:\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.TeamFoundation.PowerShell
-r

Then add PSSnapin for Microsoft.TeamFoundation.PowerShell.

+4
source

, 64- InstallUtil snapin 64- ( Wow node). 64- Visual Studio, 64- installutil.exe.

+1

All Articles