How To Install OpenGL In Visual Studio 2017 Community Edition?

Hello, so I have been writing an application in C# and OpenGL in Microsoft Visual Studio 2017 Community Edition.

However, when I try to compile the application, I get an error from Visual Studio saying this

Severity Code
Description Project
File Line
Suppression State
Error CS0246 The type or namespace name ‘OpenGL’ could not be found (are you missing a using directive or an assembly reference?)

What the the steps for installing OpenGL in this edition of Visual Studio (for use in C#)?

Thank you.

When you’ve made your project and are in your workspace, right click on references, click manage NuGet packages, from there click browse and search for your prefered GL access, I use SharpGL for WPF, but there is also CSGL and OpenTK but they are limited to using winforms.

-Shadow

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.