当我将Farseer Physics Monogame导入我的项目并添加依赖项时,我收到此错误,如下所述。我将不胜感激任何帮助。还有其他任何物理引擎,它是一个更好的选择,并有良好的文档,可以与Monogame一起使用。
严重级代码描述项目文件行抑制状态 错误“ResolveLibraryProjectImports”任务意外失败。 System.IO.FileNotFoundException:无法加载程序集 'FarseerPhysics MonoGame,Version =,Culture = neutral,PublicKeyToken ='。 也许它在Mono for Android配置文件中不存在?文件名: 'FarseerPhysics MonoGame.dll'在 Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference 参考,ReaderParameters参数)at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(字符串 fullName,ReaderParameters参数)at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(字符串 fullName)at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.GetAssembly(字符串 fileName)at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract(ICollection
1 jars, ICollection
1 resolvedResourceDirectories,ICollection1 resolvedAssetDirectories, ICollection
1 resolvedEnvironments)at at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute()at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() 在 Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()Mono2DLearning