Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
apedrosd opened this issue Aug 1, 2022 · 0 comments
Labels

Comments

@apedrosd
Copy link

apedrosd commented Aug 1, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant