Microsoft.DirectX missing from Add Reference dialog

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dr Paul A Daniels

    #1

    Microsoft.DirectX missing from Add Reference dialog

    I've got Visual Studio 7.0.9466 and have installed the
    Framework 1.1 and its SDK and DirectX 9.0 (Summer 2003
    release) SDK. OS is Windows XP Pro. I'm logged on with
    Administrator rights.

    I can't open the DirectX Summer release sample Direct3D
    tutorial solutions as I get an error saying that my VS
    version is too early. However, if I do a check for
    updates to VS, it says I'm up-to-date! I can open the
    tutorials from an earlier DirectX SDK release though.

    The next problem is that the tutorials require a
    reference to Microsoft.Direc tX,
    Microsoft.Direc tX.Direct3D (and sometimes ...3DX) but,
    even though they show in my C:\Windows\Asse mbly folder
    they don't appear in either the .NET or COM tabs of the
    Add Reference dialog and I can't select the
    C:\Windows\Asse mbly entry by browsing to it.

    Can I download a later version of VS? Also, how do I
    select a reference to the DirectX assemblies?

    I've already uninstalled an re-installed parts of the
    Framework, VS, DirectX SDK etc. in various permutations
    but to no avail.

    Anyone help please?

    Cheers

    Paul
  • Tian Min Huang

    #2
    RE: Microsoft.Direc tX missing from Add Reference dialog

    Hello Paul,

    Thanks for your post.

    The reason why it fails to open some DirectX samples in VS .NET 2002 is
    that they are created with VS .NET 2003. If you are a MSDN Subscriber, you
    can download Visual Studio .NET 2003 from MSDN Subscriber Downloads at
    http://msdn.microsoft.com/subscripti...ds/default.asp. Please refer
    to the following article for detailed information:

    Purchasing Options
    http://msdn.microsoft.com/vstudio/ho...g/default.aspx

    Could you use DirectX 9 Wizard to create DirectX projects?

    BTW, in the future, it would be best to post these questions in the
    following newsgroup:
    Microsoft.publi c.win32.program mer.directx.sdk
    Microsoft.publi c.win32.program mer.directx.man aged

    Please feel free to let me know if you have any problems or concerns.

    Have a nice day!

    Regards,

    HuangTM
    Microsoft Online Partner Support
    MCSE/MCSD

    Get Secure! -- www.microsoft.com/security
    This posting is provided "as is" with no warranties and confers no rights.

    Comment

    • Dr Paul A Daniels

      #3
      RE: Microsoft.Direc tX missing from Add Reference dialog

      [color=blue]
      >-----Original Message-----
      >Hello Paul,
      >
      >Thanks for your post.
      >
      >The reason why it fails to open some DirectX samples in[/color]
      VS .NET 2002 is[color=blue]
      >that they are created with VS .NET 2003. If you are a[/color]
      MSDN Subscriber, you[color=blue]
      >can download Visual Studio .NET 2003 from MSDN[/color]
      Subscriber Downloads at[color=blue]
      >http://msdn.microsoft.com/subscripti...nloads/default[/color]
      ..asp. Please refer[color=blue]
      >to the following article for detailed information:
      >
      >Purchasing Options
      >http://msdn.microsoft.com/vstudio/ho...purchasing/def[/color]
      ault.aspx

      I am an MSDN subscriber but which level of subscription
      do I need to get VS? I downgraded to the OS/Library-only
      subscription at the start of this year (cost reasons);
      the VS I have is from last year's disks. I'm not keen to
      get into the Passport scheme do I *absolutely have* to
      use Passport as the only way to download VS .NET 2003 or
      can I apply to MS (subscription level permitting) to get
      VS .NET 2003 on disk?
      [color=blue]
      >Could you use DirectX 9 Wizard to create DirectX[/color]
      projects?

      I haven't tried that yet - I wanted to get the tutorials
      working first before I started creating my own.
      [color=blue]
      >BTW, in the future, it would be best to post these[/color]
      questions in the[color=blue]
      >following newsgroup:
      >Microsoft.publ ic.win32.progra mmer.directx.sd k
      >Microsoft.publ ic.win32.progra mmer.directx.ma naged[/color]

      Thanks, I'm new to the forum and didn't spot them.

      Cheers

      Paul

      Comment

      • Dr Paul A Daniels

        #4
        RE: Microsoft.Direc tX missing from Add Reference dialog

        Oops...

        I posted the reply above without saying thanks for your
        response - sorry about the rudeness of my slip-up...

        Many thanks for your help - it's very much appreciated.

        Cheers

        Paul

        Comment

        • Tian Min Huang

          #5
          RE: Microsoft.Direc tX missing from Add Reference dialog

          Hi Paul,

          You are welcome. ;-)
          [color=blue][color=green]
          >> I'm not keen to get into the Passport scheme do I *absolutely have* to[/color][/color]
          use Passport as the only way to download VS .NET 2003 or can I apply to MS
          (subscription level permitting) to get VS .NET 2003 on disk?

          I think the best group to refer this question is the Customer Service
          group. Please refer to
          <http://msdn.microsoft. com/subscriptions/resources/phonelist.asp>. As
          stated there, to speak to a customer service representative for general
          questions like the one you have now, you can call the MSDN Customer Service
          Center at (800) 759-5474 department A622WEB. You can also call from outside
          the United States using, (925) 275-0763.
          [color=blue][color=green]
          >> how do I select a reference to the DirectX assemblies?[/color][/color]

          I'd like to perform the following steps:

          1. Please make sure you have installed the DirectX debug runtime.

          2. Go to the directory <Windows>\Micro soft.NET\Manage d
          DirectX\v4.09.0 0.1126\, and use the gacutil /i command to install each one
          of the dll's into the GAC.

          3. Create a registry entry DirectX with a key value that is the path to the
          folder containing the dll's under the
          HKEY_LOCAL_MACH INE\Software\Mi crosoft\.NETFra mework\Assembly Folders.

          Hope this helps.

          Regards,

          HuangTM
          Microsoft Online Partner Support
          MCSE/MCSD

          Get Secure! -- www.microsoft.com/security
          This posting is provided "as is" with no warranties and confers no rights.

          Comment

          Working...