how to add namespace

  • Thread starter Thread starter Jacky Luk
  • Start date Start date
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
 
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
 
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
 
Richard I've got the same problem, but I can't find what assembly to import
at all. thanks for ur help!
 
Back
Top