Openstack sdk在XNA 4.0 Project中不起作用

时间:2013-10-12 12:26:39

标签: rackspace-cloud rackspace

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

以下是我得到的错误:

System.IO.FileNotFoundException未处理   的HResult = -2147024894   Message =无法加载文件或程序集'SimpleRESTServices,Version = 1.2.0.0,Culture = neutral,PublicKeyToken = null'或其依赖项之一。该系统找不到指定的文件。   来源=架   FileName = SimpleRESTServices,Version = 1.2.0.0,Culture = neutral,PublicKeyToken = null   FusionLog ====预绑定状态信息=== 日志:用户= SIMFORM \ Shivam.Singh 日志: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 / Debug / 日志:初始PrivatePath = NULL

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

日志:此绑定在默认加载上下文中启动。 日志:使用应用程序配置文件:C:\ Users \ Shivam.Singh \ Documents \ Visual Studio 2010 \ Projects \ WindowsGame1 \ WindowsGame1 \ WindowsGame1 \ bin \ x86 \ Debug \ WindowsGame1.exe.Config 日志:使用主机配置文件: 日志:使用C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ config \ machine.config中的计算机配置文件。 日志:此时策略未应用于引用(私有,自定义,部分或基于位置的程序集绑定)。 日志:尝试下载新的URL文件:/// C:/Users/Shivam.Singh/Documents/Visual Studio 2010 / Projects / WindowsGame1 / WindowsGame1 / WindowsGame1 / bin / x86 / Debug / SimpleRESTServices.DLL。 日志:尝试下载新的URL文件:/// C:/Users/Shivam.Singh/Documents/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。

堆栈跟踪:        在rack.Class1.showMEssage()        在Windows中的WindowsGame1.Game1.Initialize()中:C:\ Users \ Shivam.Singh \ Documents \ Visual Studio 2010 \ Projects \ WindowsGame1 \ WindowsGame1 \ WindowsGame1 \ Game1.cs:第38行        在Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)        在Microsoft.Xna.Framework.Game.Run()        at WindowsGame1.Program.Main(String [] args)在C:\ Users \ Shivam.Singh \ Documents \ Visual Studio 2010 \ Projects \ WindowsGame1 \ WindowsGame1 \ WindowsGame1 \ Program.cs:第15行   InnerException:

1 个答案:

答案 0 :(得分:0)

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