GLUquadric error using visual studio .net

When trying to use any of the glu primitives (gluCylinder, gluSphere, etc.) in Windows XP using Visual Studio .NET, my program compiles and links correctly, but I get a run-time error:

Unhandled Exception: System.TypeLoadException: Could not load type GLUquadric from assembly test, Version=, Culture=neutral, PublicKeyToken=null.

I compiled the exact same program on a windows 2000 machine using visual studio 6.0 and the executable works fine on both computers. Does anybody know how to fix this problem?

Managed C++ enabled?

yeah, that was it - thanks!