1

当我创建一个全新的 iOS Monogame 项目时,找不到引用 Lidgren.Network 和 MonoGame.Framework。所以我删除它们,然后在编辑引用中我转到 Library/Application Support/XamarinStudio-4.0/LocalInstall/Addins/MonoDevelop.Monogame.3.0.1 并尝试选择 Monogame.Framework.dll 和 Lindgren.Network.dll 并获取以下错误:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified.

似乎是“找不到文件”错误,但文件显然在那里,因为我可以在文件夹中选择它们?有人有建议吗?我忽略了一些容易的事情吗?

4

1 回答 1

0
  1. 移除 Lingren.Network 和 MonoGame.Framework
  2. 导入/Users/用户名/Library/Application Support/XamarinStudio-4.0/LocalInstall/Addin/MonoDevelop.MonoGame.3.0.1/assemblies/iOS/Lingren.Network.dll
  3. 相同位置 MonoGame.Framework.dll
于 2014-03-02T09:51:12.040 回答