How do I include the .NET and Managed DirectX runtime dependencies in my VS 2010 Project? I've had some difficulty with the setup project in the past and can't quite figure this one out.
Open the References node of your project. Select the DirectX assemblies you use and change their Copy Local property to True. Build + Rebuild. You now have a copy of the assemblies in your build directory.
That's all, your Setup project will automatically pick them up from the build directory and deploy them. The same way it will automatically detect the .NET dependency and tick the bootstrapper in the Prerequisites. Easy peasy.