Good day! Using NuGet installed OpenGL.Net (0.3.2) in an empty project (winforms, .net 4.6).

I tried to add from the dll libraries in the "packages" folder the controls to the panel of elements (I created a new one without confusion), to which I received a message: there are no controls in these libraries that can be added to this panel .

It was the same with the SharpGL library. I haven't found any binaries in the github repositories. I don’t know alternative ways to get them (without any extra tricks).

Question : how to add controls or how to fully use the OpenGL.Net library in Visual Studio 2015 (in DesignTime)?

    1 answer 1

    I suspect you installed the main package for OpenGL instead of the specific OpenGL.Net.WinForms :

    https://www.nuget.org/packages/OpenGL.Net.WinForms/


    Update

    In some cases, this problem is solved by dragging .dll directly into the toolbar.

    • I installed both of these packages. (I suppose there is a dependency between them). One way or another, none of the libraries downloaded by NuGet have any available controls (OpenGL.Net.WinForms.0.3.2 + OpenGL.Net.0.3.2). - Newcomer
    • It is enough to install a specific package, the main one is in dependencies. Just checked in OpenGL.Net.WinForms.dll really is glControl . - user227049 7:37
    • @ Newbie you can write how to add control? - user227049 7:37
    • 2
      @ Newbie and if you try dragging a .dll into the toolbar? - user227049
    • one
      Dragging helped. Thank! Please add information to your answer. Perhaps this will help other users of the resource! - Newcomer