我正在开发一个使用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也会发生这种情况。我怀疑错误消息是不正确的,因为我能够在另一个项目中安装相同的包,它与当前的具有相同的确切设置。