Original Post
I'm trying to compile my project from the command line, but I can't seem to get it to work. I'm using DirectX SDK Dec2005 and C#. I'm doing this: "csc /r:Microsoft.DirectX.dll Test.cs" but it keeps giving me this error message "error cs0006 : Metadata file 'Microsoft.DirectX.dll' could not be found". What am I doing wrong? When I create a D3D project from the SharpDevelop wizard and compile it, everything works fine, just not from the console.