1

我想安装 Juice UI,但遇到了复杂的问题。我的操作系统是“Windows 7 Ultimate”,我正在使用 Visual Studio 2012 和 NuGet 包管理器 2.0.30625.9003 和 dotNetFrame 工作 4.5,无论如何我尝试了工具>扩展和更新和命令提示符(PM> Install-Package JuiceUI)来安装果汁,但在这两种情况下我都得到了这个错误:

**PM> Install-Package JuiceUI
Attempting to resolve dependency 'jQuery (≥ 1.8.2)'.
Attempting to resolve dependency 'jQuery.UI.Combined (≥ 1.9.0)'.
Attempting to resolve dependency 'json2'.
Attempting to resolve dependency 'AmplifyJS'.
Successfully installed 'jQuery 1.8.3'.
Successfully installed 'jQuery.UI.Combined 1.9.2'.
Successfully installed 'json2 1.0.2'.
Successfully installed 'AmplifyJS 1.1.0'.
Successfully installed 'JuiceUI 1.1.1'.
Successfully added 'jQuery 1.8.3' to jame-jam.
Successfully added 'jQuery.UI.Combined 1.9.2' to jame-jam.
Successfully added 'json2 1.0.2' to jame-jam.
Successfully added 'AmplifyJS 1.1.0' to jame-jam.
Successfully uninstalled 'JuiceUI 1.1.1'.
Successfully uninstalled 'AmplifyJS 1.1.0'.
Successfully uninstalled '***json2*** 1.0.2'.
Successfully uninstalled 'jQuery.UI.Combined 1.9.2'.
Successfully uninstalled 'jQuery 1.8.3'.
Install failed. Rolling back...
Install-Package : Could not install package 'JuiceUI 1.1.1'. You are trying to install this package into a project that
 targets '.NETFramework,Version=v3.5', but the package does not contain any assembly references that are compatible wit
h that framework. For more information, contact the package author.
At line:1 char:16
+ Install-Package <<<<  JuiceUI
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand**

我想知道是否有人帮助我解决这个问题!我猜它需要 DotNetframeWork 3.5,但如您所知,3.5 不适用于 Windows 7,并且 Juice UI 可在 Visual Studio 2010 及更高版本中使用。所以我完全搞混了,我该怎么办!?

4

1 回答 1

0

该问题在错误消息本身中进行了解释-

安装包:无法安装包“JuiceUI 1.1.1”。您正在尝试将此包安装到以 '.NETFramework,Version=v3.5' 为目标的项目中

juiceUI 在 4.0 以下不工作。更改您的项目设置以使用 .Net 4.0

于 2013-08-13T08:59:01.860 回答