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=0.0.0.0, 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?