How can I add a DirectX reference to my C# project in Visual Studio 2010? Thanks.
Browse to:
C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\
Select your directX package.
DirectX is for unmanaged code - C++. To use it from C# you need to find a wrapper library for it. The two best right now are SlimDX and SharpDX. Grab the binaries from the sites and just add a reference to them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With