x64 上没有适用于 PowerShell 的 TFS 管理单元吗? [英] Is there no TFS Snapin for PowerShell on x64?

查看:56
本文介绍了x64 上没有适用于 PowerShell 的 TFS 管理单元吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 PowerShell SDK 中的 System.Management.Automation 从 C# 代码使用 PowerShell 中的 TFSSnapin,但是我想使用AnyCPU"编译它.当我尝试在任何 CPU 中调试它时,我收到未注册插件"错误,我尝试在 x86 模式下调试它,它工作得很好.有没有办法在 x64 PowerShell 上注册插件,以便我可以使用 AnyCPU?还是我只是运气不好?

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

推荐答案

没有.并且最早要到 TFS 2010 Beta 2 才能更改.请参阅:为什么 TFS Powershell 管理单元仅标记为 32 位?

No. And it can't be changed until TFS 2010 Beta 2 at earliest. See: Why is the TFS Powershell snapin marked 32-bit only?

这篇关于x64 上没有适用于 PowerShell 的 TFS 管理单元吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆