• 0

Universal Apps


Question

I have an idea for a new application, and was going to create a Universal App for Windows 8.1/10 and Mobile. If I wanted to make the application available for Windows 7 too, is it possible for both Apps to share the same code for the functionality with just a different UI coded for each version?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

You can if you push the majority of your logic into PCL libraries.

I've done quite a few cross platform apps that share codebases with WPF, Silverlight, Winforms, WinRT etc. You will of course need separate projects for the UI side of things.

  • Like 3
Link to comment
Share on other sites

  • 0

sure, either copy/paste the shared code in each project, or put the code in a lib/dll library file. copy/pasting in each project means you need to modify the same changes in each project, whereas with a lib or dll file, you would only need to modify this library file when you do end up making changes or updates down the line.

  • Like 2
Link to comment
Share on other sites

This topic is now closed to further replies.