嘿伙计们我一直在尝试在Javascript中添加一个nuget引用到我的Windows 8应用程序,但我总是收到错误。我已卸载Visual Basic 2013并重新安装它。我已升级到Windows 8.1。我已卸载所有相关的软件包并重新安装它们。我还修复了我的注册表并完成了许多其他各种修复,但它们都失败了。
-----------------------------------------------------------------------------------------------------
Each package is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.
Package Manager Console Host Version 2.8.50126.477
Type 'get-help NuGet' to see all available NuGet commands.
PM> Install-Package AdRotatorWin8 -Version 1.0.10
Attempting to resolve dependency 'AdDuplexWindows (≥ 8.0.2.0)'.
Installing 'AdRotatorWin8 1.0.10'.
Successfully installed 'AdRotatorWin8 1.0.10'.
Adding 'AdRotatorWin8 1.0.10' to Cubic News.
Uninstalling 'AdRotatorWin8 1.0.10'.
Successfully uninstalled 'AdRotatorWin8 1.0.10'.
Install failed. Rolling back...
Install-Package : Failed to add reference to 'AdRotatorWin8'.
At line:1 char:2
+ Install-Package AdRotatorWin8 -Version 1.0.10
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand