luca-piccioni / OpenGL.Net

Modern OpenGL bindings for C#.
MIT License
570 stars 109 forks source link

Problem with Ubuntu/MonoDevelop 5.1 and target Framework above 'net452' #43

Closed wolfgangmauer closed 7 years ago

wolfgangmauer commented 7 years ago

If you want/must to develop with MonoDevelop on Ubuntu (C/C++ Project support) it's not possible to target Framework above 'net452' :-( Adding OpenGL.Net... Attempting to resolve dependency 'System.Numerics.Vectors (≥ 4.3.0)'. Attempting to resolve dependency 'System.Runtime.CompilerServices.Unsafe (≥ 4.3.0)'. The 'System.Runtime.CompilerServices.Unsafe 4.3.0' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.7.0'.

luca-piccioni commented 7 years ago

Those dependencies are relative to the binary linked to .Net 4.6.1. The other binary relative to 3.5 has not dependency. I suppose that nuget is able to manage dependencies correctly (it should require dependencies only if targeting .NET 4.6.1 or above), but I've never verified.

Lately I've not tested it on Linux boxes, and I've never used nuget on Linux. I suggest to clone the repository and link to the local repository (doing so you will have also debugging utilities).

I promise that I'll check Linux compilation, soon or later.

luca-piccioni commented 7 years ago

And configure you environment to use nuget 2.12 or newer.