tjanczuk / edge

Run .NET and Node.js code in-process on Windows, MacOS, and Linux
http://tjanczuk.github.io/edge
Other
5.42k stars 641 forks source link

Nuget Edge.js (7.10.1) on OSX .Net Core results in Error CS0246: The type or namespace name 'EdgeJs' could not be found (are you missing a using directive or an assembly reference?) #563

Closed gofreddo closed 5 months ago

gofreddo commented 7 years ago

macOS Sierra Version 10.12.5 Nuget install Edge.js (7.10.1) Microsoft.NETCore.App 1.1.1 Node v7.7.3

Build results in Error CS0246: The type or namespace name 'EdgeJs' could not be found (are you missing a using directive or an assembly reference?)

All the code is below.

using System; using EdgeJs; namespace ConsoleTest {

internal class Program
{

    private static void Main()
    {

        var func = EdgeJs.Edge.Func(@"
            return function (data, callback) {
                callback(null, 'Hello, ' + data);
            }
        ");

    }
}

}

thedumbtechguy commented 7 years ago

Similar issue in NetStandard 2.0 library

LucidObscurity commented 6 years ago

same issue netcore2.0 & 2.1