Can a dll made in c# be used in a golang application

前端 未结 1 1844
小鲜肉
小鲜肉 2021-01-04 09:56

I have created a basic class that adds two numbers in c#. I have built it into a dll but when attempting to call it in golang I am unsuccessful.

Is this possible cu

相关标签:
1条回答
  • 2021-01-04 10:36

    There is a project on Github that aims to do this.

    https://github.com/matiasinsaurralde/go-dotnet

    C# assemblies are not the same as C or C++ and will not load using syscall like we might want.

    0 讨论(0)
提交回复
热议问题