DirectX - Type or Namespace Not Found Error

I know there has been a previous thread on this topic, but reading it didn't help me. (http://forums.microsoft.com/msdn/ShowPost.aspx PostID=87777)

I have referenced Microsoft.DirectX, Microsoft.DirectX.Direct3D, and Microsoft.DirectX.Direct3DX, but it can't find ColorValue, FontWeight, or FontDescription. (type or namespace name not found error) I tried looking through them in the object browser, but couldn't find them either. Can anyone help

I'm using Visual Studio .NET 2003, version 7.1.3088.



Answer this question

DirectX - Type or Namespace Not Found Error

  • Ata Demiray

    Do you have the correct Using statements at the top of your code

    Is this a project you created from scratch or one of the samples If its not a sample - can you try the samples and see if they compile.

  • prashanthmscis1227

    What versions of the assemblies have you added



  • eman lee

    Version 9. August 2005 update (I think), if not October '05. I can't check because I'm not on that computer right now.

    EDIT: It also didn't work with October 2004.

  • DirectX - Type or Namespace Not Found Error