【问题标题】:System.Management.Automation lib for asp.net core 1.1用于 asp.net core 1.1 的 System.Management.Automation 库
【发布时间】:2017-04-03 22:21:13
【问题描述】:

我正在尝试在我的 ASP.NET 核心应用程序(.net 核心应用程序 1.1)中使用“System.Management.Automation”库。但我无法从 nuget 包管理器中添加它。任何人都可以建议 ASP.NET Core 应用程序 1.1 的支持版本的 lib。

谢谢,

【问题讨论】:

  • 你看过here吗?

标签: asp.net-core asp.net-core-1.1


【解决方案1】:

official package on nuget 仅适用于 net4.0

有一个 myget 包可用,但您需要先将存储库添加到您的 nuget.config:

<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="powershell-core" value="https://powershell.myget.org/F/powershell-core/api/v3/index.json" />

这应该有助于解决这些包。

【讨论】:

  • 有一个预发布版本,但这对我有用。谢谢:)
  • @RamashankerTripathi 在 nuget 描述中说:6.1.7601.* are unofficial packages for .Net 4.0
猜你喜欢
  • 1970-01-01
  • 2017-09-17
  • 2017-11-22
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-10-11
  • 2017-03-31
相关资源
最近更新 更多