嘿伙计们,我一直在尝试在 Javascript 中添加对我的 Windows 8 应用程序的 nuget 引用,但我总是收到错误消息。我已卸载 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