如果您使用DirectX C ++ dll进行渲染,是否有任何方法可以在C#metri应用的VS Developer Preview中启用新的DirectX调试功能? (就我而言,这是SharpDX包装库 - code.google / p / sharpdx / )。
Is there any way to enable the new DirectX debugging features in the VS Developer Previewfrom a C# metriapp if you're using a DirectX C++ dllfor rendering? (In my case, that's the SharpDX wrapper library - code.google/p/sharpdx/).
推荐答案
VS Express开发人员预览版中没有该选项,因此您必须手动添加该选项到你的vcproj文件。
The option is not available from the VS Express developer preview, so you have to add it manually to your vcproj file.
只需添加正确的Debug | AnyCpu PropertyGroup:
Just add inside the correct Debug|AnyCpu PropertyGroup:
< PropertyGroup Condition ="'
<PropertyGroup Condition="'
(配置)|
(平台)'=='调试| AnyCpu'"> ... ... < EnableUnmanagedDebugging> true< / EnableUnmanagedDebugging> < / PropertyGroup> (Platform)' == 'Debug|AnyCpu'"> ... <EnableUnmanagedDebugging>true</EnableUnmanagedDebugging> </PropertyGroup>
您应该能够查看非托管调试消息。
You should be able to view unmanaged debugging messages.
更多推荐
“启用图形捕获”在使用DirectX组件的C#项目中
发布评论