Issue with publish #830

Closed
opened 2026-01-29 16:49:41 +00:00 by claunia · 1 comment
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:41 +00:00
Author
Owner

@vinnaykulkarni commented on GitHub (Oct 13, 2022):

Hi @GregorBiswanger any suggestions from you on where I can look

@vinnaykulkarni commented on GitHub (Oct 13, 2022): Hi @GregorBiswanger any suggestions from you on where I can look
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#830