Skip to content

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

Open
@apedrosd

Description

@apedrosd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions