當我嘗試將MvvmCross安裝到新的PCL中時,我收到錯誤消息。控制檯日誌低於:從nuget安裝MVVMCross到PCL時出錯
Package Manager Console Host Version 2.5.40416.9020
Type 'get-help NuGet' to see all available NuGet commands.
PM> install-package MvvmCross
Attempting to resolve dependency 'MvvmCross.HotTuna.StarterPack (≥ 3.0.6)'.
Attempting to resolve dependency 'MvvmCross.HotTuna.CrossCore (≥ 3.0.6)'.
``Attempting to resolve dependency 'MvvmCross.PortableSupport (≥ 3.0.6)'.
Installing 'MvvmCross.PortableSupport 3.0.6'.
Successfully installed 'MvvmCross.PortableSupport 3.0.6'.
Installing 'MvvmCross.HotTuna.CrossCore 3.0.6'.
Successfully installed 'MvvmCross.HotTuna.CrossCore 3.0.6'.
Installing 'MvvmCross.HotTuna.StarterPack 3.0.6'.
Successfully installed 'MvvmCross.HotTuna.StarterPack 3.0.6'.
Installing 'MvvmCross 3.0.6'.
Successfully installed 'MvvmCross 3.0.6'.
Adding 'MvvmCross.PortableSupport 3.0.6' to Clevermed.Badger.Mobile.Core.
Uninstalling 'MvvmCross.PortableSupport 3.0.6'.
Successfully uninstalled 'MvvmCross.PortableSupport 3.0.6'.
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 MvvmCross
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], ArgumentOutOfRangeException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
我使用Profile104作爲
此外,在http://slodge.blogspot.com/2013/04/my-current-pcl-setup-in-visual-studio.html
這是一個類似但不同的錯誤描述MvvMCross 3.0.6 Nuget package installation issue,如果我右擊解決方案和「管理NuGet包'我收到錯誤'指定的參數超出了有效值的範圍。參數名稱:supportedFrameworks'。
任何想法如何進一步調試?
上運行。但不適用於所有類型的項目。 Profile104引用「Portable Library」(將其作爲「Application.Core」項目基礎)。如果沒有這樣的配置文件,那麼根本就不能在其項目類型中添加任何內容。 – Agat 2013-06-04 17:11:33