directX 9.0 sdk...

B

Bad_Kid

just installed, computer restarted, and now in c# when I write

using System;

using System.Drawing;

using System.Windows.Forms;

using System.IO;

using Microsoft.DirectX;

....

The type or namespace name 'DirectX' does not exist in the class or
namespace 'Microsoft' (are you missing an assembly reference?)

why?? How can I add it manually??? What to do?

Thax!!!!
 
F

Frans Bouma [C# MVP]

Bad_Kid said:
just installed, computer restarted, and now in c# when I write

using System;

using System.Drawing;

using System.Windows.Forms;

using System.IO;

using Microsoft.DirectX;

...

The type or namespace name 'DirectX' does not exist in the class or
namespace 'Microsoft' (are you missing an assembly reference?)

why?? How can I add it manually??? What to do?

How about adding some references to the DX9 managed assemblies? :) Check out
the example solutions for details.

Frans.
 
W

Wessel Troost

The type or namespace name 'DirectX' does not exist in the class or
namespace 'Microsoft' (are you missing an assembly reference?)

Maybe you have to reference it?
Project -> Add Reference inside VStudio.

Regards,
Wessel
 
S

Scatropolis

There's a DirectX project in the "new" dialog....start one those, if just to
see what's different.
 
U

Umer Hanif

Bad_Kid said:
just installed, computer restarted, and now in c# when I write

using System;

using System.Drawing;

using System.Windows.Forms;

using System.IO;

using Microsoft.DirectX;

...

The type or namespace name 'DirectX' does not exist in the class or
namespace 'Microsoft' (are you missing an assembly reference?)

why?? How can I add it manually??? What to do?

Thax!!!!

Bad_Kid. u are missing the References part which is how u will resolve
this error.

Umer.
 

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

Similar Threads


Top