CSC command line options if using Microsoft.DirectX.AudioVideoPlayback

Hello,

Quick question: How to compile from the command prompt, if application is using Microsoft.DirectX.AudioVideoPlayback.

I have attempted the following....

csc application.cs

csc /reference:Microsoft.DirectX.AudioVideoPlayback.dll application.cs

The first attempt results in error CS0234: The type or namespace name 'DirectX' does not exist in the namespace 'Microsoft' (are you missing an assembly reference )

The second attempt results in error CS0006: Metadata file 'Microsoft.DirectX.AudioVideoPlayback.dll' could not be found

Thank you for your time.

Best regards,

James




Answer this question

CSC command line options if using Microsoft.DirectX.AudioVideoPlayback