Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Lord Hen

C# DX9...in MSV.Net 2003

This topic is 5609 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, Im using C#.Net in MVS.Net 2003....I installed the dx9 sdk last night... Argh...How can I add a reference to directx9 from C#? Its not in the components list... If anyone has a tutorial or something on how to do this, I would greatly appreciate it =) Thanks in advance, Lord Hen

Share this post


Link to post
Share on other sites
Advertisement
Check the %windir%\Microsoft.NET\Managed DirectX\v4.09.00.0900 directory. The assemblies you need to reference should be there. If they''re not, and there''s only xml files there, you can copy them out of the GAC manually. I recommend you to set up a mapped drive to point to the GAC, to avoid the shell extension that protects the GAC. You can do that by going to a command prompt and typing subst S: C:\winnt\assembly. The GAC should then be available from the S drive in Windows Explorer.



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.

Share this post


Link to post
Share on other sites
If you want those assemblies to appear in the Add References dialog, you can copy the registry script below into a text file, edit the path(if necessary), save it as .reg and run it:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\DirectX]
@="C:\\WINNT\\Microsoft.NET\\Managed DirectX\\v4.09.00.0900"




AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!