2013-07-23 48 views
1

我想安裝Juice UI,但是我遇到了複雜的問題。 我的操作系統是'Windows 7旗艦版',我使用Visual Studio 2012與NuGet包管理器2.0.30625.9003 和dotNetFrame工作4.5,無論如何,我嘗試工具>擴展和更新和命令提示符(PM>安裝包JuiceUI)安裝汁,但在這兩種情況下,我得到這個錯誤:Erorr安裝Juice UI包

**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及更高版本中工作。所以我完全混淆了,我該怎麼做!?

回答

0

問題是在錯誤消息本身解釋 -

安裝,包裝:無法安裝包「JuiceUI 1.1.1」。您正在嘗試將此軟件包安裝到目標爲'.NETFramework,版本= v3.5'的項目中。012UI工程師不能在4.0以下工作。更改您的項目設置以使用.Net 4.0