I managed to get the C# driver working using a dotnet classlib project. You can find the details here: