Assemble .NET dll in Node.js using edge
问题 I am not very familiar with dll or .NET. I am trying to run dll libraries using node. I am using edge.js. Essentially, I have a directory bin/Debug with several dll files. I'm looping through the files and trying to assemble each of them o that i can run some methods from the dll. const edge = require('edge-js') const dllPath = './somePath/bin/Debug/' const fs = require('fs') const path = require('path') let obj = {} fs.readdir(dllPath, [], (err, files) => { files.forEach((file) => { if(file