0

我正在尝试在我的 xna 4.0 游戏中使用 rackspace 云服务,但它的 sdk 无法正常工作。我设法在 wpf 应用程序中使用 sdk,但不知道 xna 有什么问题

以下是我得到的错误:

System.IO.FileNotFoundException 未处理 HResult=-2147024894 消息=无法加载文件或程序集“SimpleRESTServices,版本=1.2.0.0,文化=中性,PublicKeyToken=null”或其依赖项之一。该系统找不到指定的文件。Source=rack FileName=SimpleRESTServices, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null FusionLog==== 预绑定状态信息=== LOG: User = SIMFORM\Shivam.Singh LOG: DisplayName = SimpleRESTServices, Version= 1.2.0.0,Culture=neutral,PublicKeyToken=null(完全指定)日志:Appbase = file:///C:/Users/Shivam.Singh/Documents/Visual Studio 2010/Projects/WindowsGame1/WindowsGame1/WindowsGame1/bin/ x86/调试/日志:初始 PrivatePath = NULL

调用程序集:openstacknet,Version=1.2.0.1,Culture=neutral,PublicKeyToken=null。

LOG:此绑定在默认加载上下文中开始。LOG:使用应用程序配置文件:C:\Users\Shivam.Singh\Documents\Visual Studio 2010\Projects\WindowsGame1\WindowsGame1\WindowsGame1\bin\x86\Debug\WindowsGame1.exe.Config LOG:使用主机配置文件:LOG:使用 C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config 中的机器配置文件。LOG:此时未将策略应用于引用(私有、自定义、部分或基于位置的程序集绑定)。日志:尝试下载新的 URL 文件:///C:/Users/Shivam.Singh/Documents/Visual Studio 2010/Projects/WindowsGame1/WindowsGame1/WindowsGame1/bin/x86/Debug/SimpleRESTServices.DLL。日志:正在尝试下载新的 URL 文件:///C:/Users/Shivam。辛格/文档/Visual Studio 2010/Projects/WindowsGame1/WindowsGame1/WindowsGame1/bin/x86/Debug/SimpleRESTServices/SimpleRESTServices.DLL。日志:尝试下载新的 URL 文件:///C:/Users/Shivam.Singh/Documents/Visual Studio 2010/Projects/WindowsGame1/WindowsGame1/WindowsGame1/bin/x86/Debug/SimpleRESTServices.EXE。日志:尝试下载新的 URL 文件:///C:/Users/Shivam.Singh/Documents/Visual Studio 2010/Projects/WindowsGame1/WindowsGame1/WindowsGame1/bin/x86/Debug/SimpleRESTServices/SimpleRESTServices.EXE。

StackTrace:在 rack.Class1.showMEssage() at WindowsGame1.Game1.Initialize() 在 C:\Users\Shivam.Singh\Documents\Visual Studio 2010\Projects\WindowsGame1\WindowsGame1\WindowsGame1\Game1.cs:line 38 在 Microsoft .Xna.Framework.Game.RunGame(Boolean useBlockingRun) 在 Microsoft.Xna.Framework.Game.Run() 在 WindowsGame1.Program.Main(String[] args) 在 C:\Users\Shivam.Singh\Documents\Visual Studio 2010\Projects\WindowsGame1\WindowsGame1\WindowsGame1\Program.cs:第 15 行内部异常:

4

1 回答 1

0

我们正在努力为下一个版本更正此问题。在那之前的解决方案是在安装 openstack.net SDK 之前从 NuGet 手动安装版本 1.2.0.0 的 SimpleRESTServices 包。如果您已经安装了这些软件包的其他版本,则需要先卸载它们。

于 2013-10-12T17:03:15.133 回答