Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to convert Windows Desktop applications to Universal UWP and Vice Versa?

Tags:

windows

uwp

In Visual Studio I am trying to decide which type of application I should start with. I want to make it available to as many devices as I can.

If I make a Windows desktop application (.NET/WPF), I could convert it to a UWP but it only targets desktop applications, which is pointless device-wise.

But if I make a UWP, it would work with Microsoft devices, but not ones running a Windows older than Windows 10. A lot of people still use older versions of Windows, and I would rather make a Windows desktop application than limit the use to a specific version of Windows.

It would also be cool to be able to make it work on other devices like Android.

QUESTIONS: Is there a way to convert a Desktop application to a Universal UWP (with or without the code)? Is there a way to convert a Universal UWP to a Desktop application (or make it run on older Windows machines)? If not, what would be the best application type and why?

Also, is there a different application type I should use instead that I'm not thinking of?

NOTE: Microsoft Project Centennial converts Desktop applications to UWP's, but they only work on desktop machines.

like image 269
TheEthan8or Avatar asked Jun 16 '17 02:06

TheEthan8or


People also ask

How do I convert desktop app to UWP?

With Windows 10's converter, just give it a . msi or .exe file and it'll spit out a . appx package. You can then sideload this app on your own PC, or–if you're the application's developer–you can submit the resulting UWP app to the Windows Store.

What is replacing UWP?

14 January 2022. As you already know, WinUI is Microsoft's follow-up to UWP. As the successor to the UWP platform, Microsoft has invested heavily in the WinUI platform.

Is UWP still a thing?

It's still used for what is often called "classic Windows desktop development." UWP, a "modern" take on Windows development, provides a common type system and application model and APIs for all Windows 10 devices.

Does Windows have support for universal apps?

Windows 10 introduced the Universal Windows Platform (UWP), which provides a common app platform on every device that runs Windows. The UWP core APIs are the same on all Windows devices.


1 Answers

I would go UWP and use Xamarin forms if I were you.

Using Xamarin you can write the one UWP app and deploy to Windows, Android, and iOS.

like image 112
Lacju Avatar answered Nov 15 '22 05:11

Lacju