In my latest tutorial we will create a cross-platform solution with Xamarin.Forms that includes WPF (Windows Desktop) as a target.
Cross-platform application development should reach the largest potential customer base it can. With Xamarin.Forms, you can create a solution with projects that target Android, iOS, Windows 10, Windows Mobile, Windows 8.1, and Windows Phone 8.1 out-of-the-box. Unfortunately, Windows Desktop is not included with this template. With so many people still using and relying on traditional Windows Desktop applications, many times it is important to provide a solution for that target environment.
Fortunately, with only a few modifications, we can refactor our default Xamarin.Forms solution to include a WPF project. Furthermore, we will establish a project structure that ensures all the projects can still utilized common code (things like View Models, Services, Models) from a PCL project within the solution.
We will cover the following activities:
On GitHub: https://github.com/C0D3Name/XamFormsWpf
The source code for this tutorial can be found on my GitHub page.