尝试为 EdgeJS 创建 VB.Net 集成

Trying to create VB.Net Integration for EdgeJS

我创建了 this project, which is basically an attempted clone of this project but converted from C# to VB using SharpDevelop 4.4 然后使用 VS 2015 构建

我的问题可以在 GitHub here 上找到,但这是我在 运行 我的 NodeJS 项目时遇到的错误:

我的 NodeJS 项目中的一些代码不起作用:

var WriteCrapVB = edge.func('vb', function () {
/*
    Function(input)
        Console.WriteLine("Hello from .NET")
        Return Nothing
    End Function
*/
});
var hello = WriteCrapVB(null);
hello(null); // prints out "Hello from .NET"

当 运行使用此 C# 时它确实有效:

var WriteCrapCS = edge.func('cs', function () {
/*
    async (input) =>
    {
        return (Func<object,Task<object>>)(async (i) => { 
            Console.WriteLine("Hello from .NET"); 
            return null; 
        });
    }
*/
});
var hello = WriteCrapCS(null, true);
hello(null, true); // prints out "Hello from .NET"

我基本上尝试过使用this guide来创建这个项目。

我尝试了各种方法来修复这个错误,每一个都和前一个一样无用。我希望 .NET 知识比我丰富的人可以指出一个明显的错误!

请帮助这个可怜的灵魂不要因头发撕裂而秃顶!

脸掌

根命名空间必须为空。