Questions tagged [edgejs]

The Edge.js project enables you to run Node.js and .NET code in one process

56 questions
24
votes
2 answers

Error: The specified module could not be found

I'm trying to use edge.js to execute some .NET code to print on windows in an Electron app. I've tried electron-edge and I've also tried manually building the edge.js modules targeting Electron following the instructions in the Electron docs, but I…
Douglas Ludlow
  • 10,754
  • 6
  • 30
  • 54
5
votes
3 answers

How to wait for async method to finish in C#?

For the following code (using EdgeJS module), I want to wait for asynchronous method Start to complete before writing sw.Elapsed, how should I do it? using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using…
william007
  • 17,375
  • 25
  • 118
  • 194
4
votes
2 answers

The edge module has not been pre-compiled for node.js version v8.9.3

I try to deploy the project which is developed in nodejs version v6.x and edgejs version v0.11 into production environment node version v.8.x.. Getting error seems "The edge module has not been pre-compiled for node.js version v8.9.3". I googled…
Arun A
  • 155
  • 5
  • 13
3
votes
1 answer

Telerik RenderReport throws an exception "XLS rendering format is not available"

I have a C# WinForms application which is generating a .xls type report using the Telerik.Reporting dll. We are in the process of developing an enhanced version of the application in electron using Angular. We are using EdgeJs to access the…
Chadley08
  • 559
  • 1
  • 8
  • 26
2
votes
0 answers

How can I call .NET code from Electron (node)

For my current client we are developing a cross-platform application in Ionic Android. This allows us to write the source code once and package it for Android, iOS or desktop via Electron. One of the requested features is to support displaying an…
thomaux
  • 19,133
  • 10
  • 76
  • 103
2
votes
1 answer

Electron-Edge-JS App.config

I am using electron-edge-js to call a C# DLL. Within the DLL, the App.config file is called out for server connection information. return…
Marker
  • 560
  • 4
  • 20
2
votes
0 answers

Cordova build TACO(vs-tac) issue

I have a cordova project. It was working well earlier. But today is not building. Throws this error. 1>MSBUILD : cordova-build error BLD401: Error : BLD00401 : Could not find module '{project-path}\node_modules\vs-tac\app.js'. Please Go to Tools -->…
Manoj
  • 4,951
  • 2
  • 30
  • 56
2
votes
1 answer

Call .dll files in ElectronJS on linux

I have a problem with using c# .dll files into my ElectronJS app on linux. I know that Electron-Edge helps to run .NET in Node.js on Electron. But if it`s possible to use c# .dll on linux in this case?
2
votes
0 answers

cannot resolve module 'fs' on edgejs

i am using latest edgejs(6.5.1) in my node project. but when i use edge in my project, var edge = require('edge'); i am getting this error cannot resolve module 'fs' later when i checked the edge.js file i see that edge is using 'fs' var fs =…
Roopak Puthenveettil
  • 1,387
  • 2
  • 13
  • 27
2
votes
1 answer

Ignore ExpandoObject Properties with JSON.Net Serializer Settings

Is it possible to ignore ExpandoObject properties, in particular those of Delegate type, when using JsonConvert(expando, formatting, serializerSettings)? Essentially I'm trying to ignore all parsing of the func property in this example expando…
Matt Mason
  • 2,676
  • 9
  • 22
2
votes
1 answer

Why are parentheses needed around this lambda function?

return (Func>)(async (dynamic data) => { methodCall(data.data, data.more); return null; }); From what I gather the above code is doing, it is explicitly casting the lambda function as a delegate, and then returning that…
Wickie Lee
  • 109
  • 1
  • 7
2
votes
0 answers

Could not load file or assembly 'System.Runtime, Version=4.1.0.0, Culture=neutral

The context of this issue is .net core 1.1 and electron-edge: I created a super simple C# library in .Net Core 1.1 with .Net Standard 1.6. I finished dotnet restore, dotnet build and dotnet release etc. .... per the documentation successfully.…
Arash
  • 3,628
  • 5
  • 46
  • 70
2
votes
0 answers

Edge.js passing buffer to callback

I'm using Edge.js to execute node.js modules within my F# code. My node module returns Stream and I've found, that I should marshall it with node buffer. My function called from .NET looks like this: return function(data, cb){ var pdfDoc =…
mickl
  • 48,568
  • 9
  • 60
  • 89
2
votes
1 answer

How to reference Roslyn assemblies from an EdgeJS app?

I'd like to use a Roslyn library from an EdgeJS application but am not sure how to reference it properly. This is the code in question: var edge = require('edge'); var toroslyn = edge.func(function(){/* using System; using…
Christian
  • 7,433
  • 4
  • 36
  • 61
1
vote
2 answers

Install NuGet package in node.js project

I have a node.js project that executes a certain dll using edge.js package. Is there a way to install a NuGet package in my node.js project and run it as I do with the dll?
fullstack
  • 754
  • 3
  • 20
1
2 3 4