how to add namespace

J

Jacky Luk

I'm compiling a C# project with DirectX 9, but the compiler finds that
Microsoft.DirectX namespace is not available.... How to add the namespace to
the C# App, thanks a lot
Jack
 
R

Richard Blewett [DevelopMentor]

You'll need to add a reference to the DirectX assembly using the references folder in the solution view in VS.NET or the /r: command linie compiler switch

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

I'm compiling a C# project with DirectX 9, but the compiler finds that
Microsoft.DirectX namespace is not available.... How to add the namespace to
the C# App, thanks a lot
Jack
 
J

Jacky Luk

Richard Blewett said:
You'll need to add a reference to the DirectX assembly using the
references folder in the solution view in VS.NET or the /r: command linie
compiler switch

Yes. Richard, I had that. But there was a yellow cross over the top of the
icon. What went wrong? Thanks
Jack
 
G

Guest

Richard I've got the same problem, but I can't find what assembly to import
at all. thanks for ur help!
 

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