Transfer WinForm to Windows10 IoT

Ralph Chahwan 1 Reputation point

I am trying to port my created winform to my raspberry pi 3 b+ (ARM CPU)

First, I converted the form to run on .Net 5 because I heard it supports ARM Processors, correct me if I'm wrong, but I thought it would allow the winforms to run on ARM CPUs.

Next, I added the Windows Application Packaging to my solution to convert the form into a UWP app (And it worked while I ran it locally)

The issues begin whenever I try to debug it on my raspberry pi
So I changed the type to ARM and stared the remote debugging, and got the following error:


So the next thing I tried was to publish the app, and then add it manually to the raspberry pi, but again another error has happened when I selected the type as ARM.


Please is there any way I could fix this issue?
I have checked all around the forms, and wasn't able to find any good solutions

Thank you in advance.

Windows for IoT
Windows for IoT
A family of Microsoft operating systems designed for use in Internet of Things (IoT) devices.
382 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,286 Reputation points

    Your best option is not to port an existing Windows form project but instead create a new project that is setup properly for IOT. Otherwise you will more likely than not encounter other issues attempting to port.

    Bottom line UWP has enough differences from Windows Forms to warrant starting a new project.

    1 person found this answer helpful.