小编Cyb*_*Ego的帖子

为什么在包管理器控制台中调用“get-helpentityframework”会导致此错误?

PM> get-help entityframework
Run Code Online (Sandbox Code Playgroud)

get-help :未将对象引用设置为对象的实例。
在第 1 行:1 个字符:1
+ 获取帮助实体框架
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo :未指定:(:) [获取帮助] ,NullReferenceException
+ FullQualifiedErrorId:System.NullReferenceException,Microsoft.PowerShell.Commands.GetHelpCommand

我猜这可能是与PowerShell相关的问题,所以我在这里列出了它的版本号

PM> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      0      10586  494     
Run Code Online (Sandbox Code Playgroud)

我正在使用

Microsoft Visual Studio Community 2017
Version 15.8.7
Run Code Online (Sandbox Code Playgroud)

powershell visual-studio nuget-cli package-manager-console

2
推荐指数
1
解决办法
4219
查看次数