Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

Electron.NET - RuntimeIdentifier platform 'win-x64' and the PlatformTarget 'x86'

Open apedrosd opened this issue 3 years ago • 0 comments

Project Type: .Net 5 MVC OS: Win10 x64

I want to create an application with Electron JS so that it can work offline in case of network failure and communicate with an external peripheral connected to USB.

For this I have to communicate with a generic device driver. At this moment I can already communicate through visual studio (iis).

The problem is that for the drivers to work the main program has to be set to Platform Target x86 and I can't get Electron JS to start.

If I change the Platform Target to AnyCPU (x64) I get Electron JS to start but the drivers don't work.

Could there be some configuration in the part of starting Electron that could allow to overcome this behavior?

imagem

apedrosd avatar Aug 01 '22 14:08 apedrosd