neo-project / examples

MIT License
138 stars 135 forks source link

Please write a template for VB.NET #2

Closed Audiopolis closed 7 years ago

Audiopolis commented 7 years ago

I've tried everything I can think of to create a VB.NET version of the C# template, but I always end up with something like this in the output:

1>CONVERTTASK : Convert error : System.Exception: unknown call:System.String ExternalTest.TestFunctions::Main() 1> at Neo.Compiler.MSIL.ModuleConverter._ConvertCall(OpCode src, AntsMethod to) 1> at Neo.Compiler.MSIL.ModuleConverter.ConvertCode(ILMethod method, OpCode src, AntsMethod to) 1> at Neo.Compiler.MSIL.ModuleConverter.ConvertMethod(ILMethod from, AntsMethod to) 1> at Neo.Compiler.MSIL.ModuleConverter.Convert(ILModule _in) 1> at Neo.Compiler.Program.Main(String[] args)

erikzhang commented 7 years ago

It has been done in https://github.com/neo-project/neo-devpack-dotnet/commit/2453bde48dd44afeb23c9103104901443111387d Update your plugin and compiler before trying it.