Microsoft.Directx.* namespaces not found

C

Chuck Glenn

I installed visual studio 2002 (aka 7.0) enterprise architect, then directx
9.0b. Directx acted like it was installing .net extensions, but I when I
open someone else's (tested and working) code, I vs tells me that all the
Microsoft.Directx namespaces were not recognized.

Does this have anything to do with the fact that vs was also unable to
update itself? I installed from year-old MSDN cds.

HELP!

-- Chuck
 
G

Guest

Make sure you're using the right assemblies. Open up a DX project, expand its references and click on the DX declaration. Information concerning the assembly is shown in the property's window at the bottom. Make sure that version matches the versions you've got. If not, download the one you want and install it, it shouldn't overwrite the others. These assemblies are stored in the root directory, mine for example are in the folders

C:\WINDOWS\Microsoft.NET\Managed DirectX\v9.00.090
C:\WINDOWS\Microsoft.NET\Managed DirectX\v9.00.112

Another way, which might / might not work, is to remove the offending DX references and add yours, make a back up first just in case, there might be a few compilation errors, if you feel confident you can have a go correcting them
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top