Hi!
I have developed an application on Visual Studio Express 2010 in C# using .NET 4 and Windows Forms.
Basically it is the packet router of my own home automation project. It is currently running fine on Windows 7 24/7. There are several USB-to-serial port adapters connected to this machine and the app accesses these through virtual COM ports. The app routes data packets between these COM ports and other endpoints over IP (UDP, local network only). The app is multi-threaded and uses my own DLLs (for different types of communication ports).
Now, when I heard about Win 10 will run on the Rpi2 I was very excited (even more so when I heard MS provide it free of charge). My first thought was that I would be able to run this app on an Rpi2 and save a lot of electricity not having to run it on a "normal" Windows machine. The app doesn't need a lot of processing power.
Now that the Win 10 IoT preview is available I bought an Rpi2 and wanted to try this out. I started reading up on it a bit more and started to realise that this isn't going to be a full Win 10. But information is very scattered and hard to find. I couldn't find any information whether .NET will be supported (all I found was a comment somewhere saying that ASP.NET might be supported in future). So called Universal Apps seem to be the new thing but again I could not find info on whether old C# apps can be ported.
So before I dive into this I would appreciate a few infos from people who have looked into this in much more detail than I have so far.
- Will .NET 4 WinForms apps work on Win10 IoT? If yes, this would be the ideal situation as I could just run the existing app.
- Failing that, can I just re-compile my existing app on Visual Studio 2015 and make it an Universal App?
- Will it then still work on Win 7? Or do I need to maintain 2 projects/versions for that?
I would also like to note that I'm not a professional coder. I taught myself C# mainly for this one project.