Did you find a solution to the type/namespace error? I too am experiencing the same error (Error 1 The type or namespace name 'Device' could not be found (are you missing a using directive or an assembly reference?)).
If anyone else may have a suggestion on how to repair this craziness, that would be great. I've tried adding/removing/adding the DirectX references (assuming that these refs contain the Device type definitions).
BTW... I am using:
- VS Pro 2005 (C#)
- DirectX refs:
DirectX (Runtime: v1.1.4322, Version 1.0.2902.0)
DirectX.Direct3D (Runtime v.1.1.4322, Version 1.0.2902.0)