#### Archived

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

# 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.

## 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 on other sites
Doesnt ANYONE else use MVS.Net 2003?
Someone else has to have wanted to use directx 9 with it...

Lord Hen

##### Share on other sites
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 on other sites
Cool, I found the stuff in %windir%\Microsoft.NET\Managed DirectX\v4.09.00.0900...
=)

Thanks,
Lord Hen

##### 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.

1. 1
2. 2
Rutin
16
3. 3
4. 4
5. 5

• 26
• 11
• 9
• 9
• 11
• ### Forum Statistics

• Total Topics
633709
• Total Posts
3013478
×