我正在開發一個使用Xamarin Android的Android MonoGame應用程序。該項目的設置如下: NuGet安裝FarseerPhysics.Portable包錯誤
嘗試安裝時Farseer物理便攜使用的NuGet我得到以下錯誤:
PM> Install-Package FarseerPhysics.Portable
'FarseerPhysics.Portable 3.5.1' already installed.
Adding 'FarseerPhysics.Portable 3.5.1' to MyGameAndroid.
Install-Package : Could not install package 'FarseerPhysics.Portable 3.5.1'. You are trying to install this package into a project that targets
'MonoAndroid,Version=v2.3', but the package does not contain any assembly references or content files that are compatible with that framework. For more information,
contact the package author.
At line:1 char:1
+ Install-Package FarseerPhysics.Portable
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
,當我嘗試安裝BugSense.Xamarin.Android也會發生這種情況。我懷疑錯誤消息是不正確的,因爲我能夠在另一個項目中安裝相同的包,它與當前的具有相同的確切設置。