Issue with publish #827

Open
opened 2026-01-29 16:49:38 +00:00 by claunia · 0 comments
Owner

Originally created by @vinnaykulkarni on GitHub (Oct 10, 2022).

I am using a NuGet package "Jering.Javascript.NodeJS" for executing the NodeJs code, this works fine when compiled as a simple asp.net core application with IIS and even works with Electron.Net in Visual Studio with Release and Debug both modes, however when published as Windows binary the data returned is undefined, following is the code which returns data.

data = await StaticNodeJSService.InvokeFromFileAsync("PATH_TO_NODEJS_FILE");

Originally created by @vinnaykulkarni on GitHub (Oct 10, 2022). I am using a NuGet package "Jering.Javascript.NodeJS" for executing the NodeJs code, this works fine when compiled as a simple asp.net core application with IIS and even works with Electron.Net in Visual Studio with Release and Debug both modes, however when published as Windows binary the data returned is undefined, following is the code which returns data. data = await StaticNodeJSService.InvokeFromFileAsync<string>("PATH_TO_NODEJS_FILE");
claunia added the bug label 2026-01-29 16:49:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#827