我的NuGet正在播放,不会列出或搜索任何在线套餐。我收到错误:
指定的参数超出了有效值的范围。 参数名称:supportedFrameworks
注意,我在NuGet窗口中没有做任何事情,只是自动说出来。当我尝试通过控制台安装任何软件包时,我也会遇到同样的错误:
Install-Package EntityFramework
Installing 'EntityFramework 6.1.3'.
You are downloading EntityFramework from Microsoft, the license agreement to which is available at http://go.microsoft.com/fwlink/?LinkID=320539. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'EntityFramework 6.1.3'.
Adding 'EntityFramework 6.1.3' to FirstDemo.Core.
Uninstalling 'EntityFramework 6.1.3'.
Successfully uninstalled 'EntityFramework 6.1.3'.
Install failed. Rolling back...
Install-Package : Specified argument was out of the range of valid values.
Parameter name: supportedFrameworks
At line:1 char:1
+ Install-Package EntityFramework
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], ArgumentOutOfRangeException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
如何解决NuGets错误?
相关信息:
C:/Users/.../AppData/Local/Temp/NuGet.Tools-1.vsix Application not found
。答案 0 :(得分:0)