Ok, that’s strange! What errors specifically?
I didn’t have much trouble, using the examples here or here.
I’m away for the weekend, but next week I’ll link my Xojo and C# project. I was using Xojo 2019r1.1 and VS2019.