Closed cosminonea closed 5 months ago
Hi, I have not looked at samples in many years so perhaps they are outdated. If you are testing it on MacOs make sure you have EDGE_USE_CORECLR = 1
env variable set before running samples and have dotnet 6 or higher installed. Your command line should be EDGE_USE_CORECLR=1 node samples/203_x509store.js
.
Having said that I can see that at least the sample you mentioned does not work in .NET Core so will take a look at that. I think you are the first person to mention samples since I have been working on this project 😄
But if you want to test your code, reference dlls etc I suggest looking at https://github.com/agracio/edge-js-quick-start. It works on Windows/Linux/MacOs with both Intel add M chips.
Added listCertificates
method to https://github.com/agracio/edge-js-quick-start.
I am trying to run samples/203_x509store.js on an M3 Mac but I get the following error:
Error: Unable to resolve reference to System.
I get a similar error with any other dll I try to reference.
Are the samples supposed to run on all platforms?