Build Sample Code with Visual Studio 2008

You can build C# .NET samples using Microsoft Visual C# 2008 Express or Microsoft Visual Studio 2008.
  1. Open a Visual Studio 2008 command prompt from the Windows Start Menu as follows:
    Start
    Programs
    Visual Studio 2008
    Visual Studio Tools
    Command Prompt
    .
  2. Start the Windows command prompt.
    On 64‐bit Windows systems, run
    C:\Windows\SysWOW64\cmd.exe
    so the sample programs execute under Windows 32‐bit on Windows 64‐bit (WOW64).
  3. Navigate to the
    SDK\samples\DotNet
    sub‐directory.
  4. At the command prompt, type
    Build2008.cmd
    to execute the build commands.