.net - 哪些版本的 Microsoft.NET 框架适用于 Windows Powershell?

标签 .net .net-3.5 powershell

我正在为 Powershell 1 和 2 开发提供程序和 cmdlet。

我的扩展应该针对哪个版本的框架?

我假设 Microsoft.NET 2 可以正常工作。 3.0和3.5呢? Microsoft.NET 4.0?

最佳答案

需要 2.0,但是 .NET 3.0 和 3.5 仍然共享 CLI 版本,所以如果 2.0 工作,3.0 和 3.5 应该没问题如果机器安装了它们;有很多例子,例如,WCF (3.0) 和 powershell。在 4.0 上更难判断,因为它不是 RTM。

关于.net - 哪些版本的 Microsoft.NET 框架适用于 Windows Powershell?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1183372/

相关文章:

c# - .NET 告诉我 TypeLoadException : violates the constraint of type parameter 'T' while my code clearly doesn't violate it

c# - 如何调出内置文件复制对话框?

c# - 可以设置 monthCalendar 以显示当前月份和前 2 个月吗?

c# - WinForms 在没有 Form/UserControl 的情况下检索键盘状态

powershell - 在 Powershell foreach 循环中检索数组索引?

c# - 具有值和文本的 ComboBoxItem

c# - 从 DataTable 填充 WinForms TreeView

c# - 如何比较日期时间的时间部分

powershell - Powershell和Lotus Notes-如何使用员工编号提取用户名?

Powershell - 使用特殊字符对字符串对象进行排序