【问题标题】:Openstack sdk not working in XNA 4.0 ProjectOpenstack sdk 在 XNA 4.0 项目中不起作用
【发布时间】:2013-10-12 12:26:38
【问题描述】:

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

以下是我得到的错误:

System.IO.FileNotFoundException 未处理 H结果=-2147024894 消息=无法加载文件或程序集“SimpleRESTServices,版本=1.2.0.0,文化=中性,PublicKeyToken=null”或其依赖项之一。该系统找不到指定的文件。 源=机架 文件名=SimpleRESTServices,版本=1.2.0.0,文化=中性,PublicKeyToken=null FusionLog==== 预绑定状态信息=== 日志:用户 = SIMFORM\Shivam.Singh 日志:DisplayName = SimpleRESTServices,版本 = 1.2.0.0,文化 = 中性,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。

LOG:此绑定在默认加载上下文中开始。 LOG:使用应用程序配置文件:C:\Users\Shivam.Singh\Documents\Visual Studio 2010\Projects\WindowsGame1\WindowsGame1\WindowsGame1\bin\x86\Debug\WindowsGame1.exe.Config LOG:使用主机配置文件: 日志:使用 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() 在 C:\Users\Shivam.Singh\Documents\Visual Studio 2010\Projects\WindowsGame1\WindowsGame1\WindowsGame1\Game1.cs: 38 中的 WindowsGame1.Game1.Initialize() 在 Microsoft.Xna.Framework.Game.RunGame(布尔值 useBlockingRun) 在 Microsoft.Xna.Framework.Game.Run() 在 C:\Users\Shivam.Singh\Documents\Visual Studio 2010\Projects\WindowsGame1\WindowsGame1\WindowsGame1\Program.cs: 15 中的 WindowsGame1.Program.Main(String[] args) 内部异常:

【问题讨论】:

    标签: rackspace-cloud rackspace


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2011-10-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多