GoblinXNA - 需要将 DebugFont.spritefont 添加到您的内容目录 - 错误 (MSVCR90.dll)
已解决:此错误仅出现在 Visual Studio 2010 中,不会出现在 Visual Studio 2008 中,可能是因为内容管道在两者中的加载方式不同。虽然我在 MSVCR90.dll 上遇到的错误是下一个问题。
我已经开始使用 Goblin XNA 框架来创建增强现实应用程序。尽管到目前为止进展并不顺利。我在 stackoverflow.com 上问这个问题的原因是因为这看起来像是 Goblin XNA 和 Visual Studio 问题的混合体,所以我希望我能在这里找到一些帮助。
You need to add 'DebugFont.spritefont' file to your content directory before you can display debug information
当我调试 CameraCalibration.sln 时出现上述错误,有人知道如何解决这个问题吗?
提前致谢!
-- 编辑:此错误显示在事件查看器中:
错误应用程序名称:CameraCalibration.exe,版本:1.0.0.0,时间戳:0x4e67259c
错误模块名称:MSVCR90.dll,版本:9.0。 30729.4974,时间戳:0x4b7a226f
异常代码: 0xc0000417
故障偏移:0x0006ccb5
故障进程 ID:0xdc0
故障应用程序启动时间:0x01cc6d34cfa769a0
故障应用程序路径:D:\My Documents\user\AR-Demo\GoblinXNAv3.6\tools\CameraCalibration\bin\x86\Release\CameraCalibration.exe
故障模块路径: C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb\MSVCR90.dll
报告 ID: 1296c1c0-d928-11e0-8928-fa12135e51e5
SOLVED: This error only occurs in Visual Studio 2010, it doesn't appear in Visual Studio 2008, probably because the Content Pipeline is differently loaded in both. Though the error I've been having with MSVCR90.dll, is the next problem.
I have started using the Goblin XNA framework to create an Augmented Reality application. Though it hasn't gone smoothly thus far. The reason I am asking this here on stackoverflow.com is because this seems like a mixture between a Goblin XNA and a Visual Studio issue, so I was hoping I could find some help here.
You need to add 'DebugFont.spritefont' file to your content directory before you can display debug information
When I Debug CameraCalibration.sln I get the above error, does anyone know how to solve this?
Thanks in advance!
-- EDIT: This error shows up in the Event Viewer:
Faulting application name: CameraCalibration.exe, version: 1.0.0.0, time stamp: 0x4e67259c
Faulting module name: MSVCR90.dll, version: 9.0.30729.4974, time stamp: 0x4b7a226f
Exception code: 0xc0000417
Fault offset: 0x0006ccb5
Faulting process id: 0xdc0
Faulting application start time: 0x01cc6d34cfa769a0
Faulting application path: D:\My Documents\user\AR-Demo\GoblinXNAv3.6\tools\CameraCalibration\bin\x86\Release\CameraCalibration.exe
Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb\MSVCR90.dll
Report Id: 1296c1c0-d928-11e0-8928-fa12135e51e5
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在此处找到引发此异常的源文件:https://goblinxna。 svn.codeplex.com/svn/src/UI/UIRenderer.cs
[...]
毕竟,这听起来确实像是一个数据问题。检查两个 VS 安装之间的 DebugFont.spritefont 文件属性。
You can find the source file throwing this exception here: https://goblinxna.svn.codeplex.com/svn/src/UI/UIRenderer.cs
[...]
This does sound like a data problem, after all. Check the file properties for DebugFont.spritefont between both VS installations.