简体   繁体   English

在哪里可以找到Microsoft.DirectX程序集以供参考

[英]Where I can find Microsoft.DirectX assembly to reference

I am wondering where I can find Microsoft.DirectX assembly to reference? 我想知道在哪里可以找到Microsoft.DirectX程序集以供参考?

It seems like MS Windows 7 has DirectX installed but I cannot find this assembly using Reference Manager Window of Visual Studio 2015. 似乎MS Windows 7已安装DirectX,但我无法使用Visual Studio 2015的引用管理器窗口找到此程序集。

Any clue what should be installed? 有什么线索应该安装什么?

Microsoft.DirectX is the deprecated Managed DirectX 1.1 assemblies that date back to the early 2000s. Microsoft.DirectX是可弃用的Managed DirectX 1.1程序集,其历史可以追溯到2000年代初期。 They are deployed by DXSETUP from the legacy DirectX SDK. 它们由DXSETUP从旧版DirectX SDK部署。 They are also not compatible with .NET 4.0, and only support Direct3D 9. In other words, they are ancient and don't use it. 它们也与.NET 4.0不兼容,仅支持Direct3D9。换句话说,它们是古老的并且不使用它。

Instead you should use SlimDX or SharpDX . 相反,您应该使用SlimDXSharpDX

See DirectX and .NET 请参阅DirectX和.NET

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM