Tech Off Post

Single Post Permalink

View Thread: Discuss the Beginning Game Development series on Coding 4 Fun
  • User profile image
    Bucketofsqu​id

    On lesson 2 I'm getting the error message:
    Error 1 The type or namespace name 'Device' could not be found (are you missing a using directive or an assembly reference?) 

    C:\Documents and Settings\Tom\My Documents\Visual Studio 2005\Projects\BattleTank2005\BattleTank2005\GameEngine.cs 

    52 

    11 

    BattleTank2005

    On the line:
    private Device device;

    My references are:
    Microsoft.DirectX;
    runtime ver - 1.1.4322
    ver - 1.0.2902.0

    Microsoft.DirectX.Direct3D;
    runtime ver - 1.1.4322
    ver - 1.0.2911.0

    I have the lines:
    using Microsoft.Samples.DirectX.UtilityToolkit;
    using Microsoft.DirectX;
    using Microsoft.DirectX.Direct3D;
    using Microsoft;

    What am I doing wrong?