luca-piccioni / OpenGL.Net

Modern OpenGL bindings for C#.
MIT License
568 stars 108 forks source link

Fix .NET standard 2.0 build #101

Closed hasali19 closed 6 years ago

hasali19 commented 6 years ago

The .NET standard 2.0 build was failing since BaseIntermediateOutputPath should not be set from the "main body" of the project file.

I've fixed this by moving it to the the top of the project file and explicitly importing the Sdk props and targets after it.

luca-piccioni commented 6 years ago

Really thank you. I've not checked personally, but that would explain why compiler cannot find any System reference... that was very disappointing.

I'll merge it as soon I can test it.

matyasforian commented 6 years ago

Any plans for a new release where this commit is included?