MikePopoloski / SharpBgfx

C# bindings for the bgfx graphics library
MIT License
169 stars 30 forks source link

What c# version are you using? #1

Closed SebastianStehle closed 9 years ago

SebastianStehle commented 9 years ago

Hi, what C# version are you using? I dont know this kind of expressions:

public override string ToString () => $"Handle: {handle}";

Do I need vs 2015?

MikePopoloski commented 9 years ago

Yeah, I was trying out the new C# language features for fun. You either need VS 2015 or you can make a few edits to remove the usage of the new features. They're pretty straightforward.

sbarisic commented 9 years ago

They are also annoying, each project requires over 100 changes just to compile it. I'd suggest making a new release on each commit.

https://github.com/MikePopoloski/SharpBgfx/releases

MikePopoloski commented 9 years ago

I updated the code to compile under C# 4 syntax rules.

I'd rather not provide binary releases, because that would require figuring out how to bundle the native DLL nicely and it's easier for the end user to just plop the SharpBgfx.cs file into a project and go.