Search code examples
c#wpfwinformswindows-xp

What is recommended in VS 2015 where Windows XP is the target platform


I am developing a desktop application in Visual Studio 2015 which has to run on Windows XP. I have the following questions:

  1. Should I be using Windows Forms or WPF as the preferred development platform?
  2. I am developing this on Windows 10 - what is the best way to test this as I do not have access to a Windows XP system?

Solution

  • Regarding to the .NET Framework System Requirements you have to use .NET version 4 or below.

    Since WPF is running extremely slow under Windows XP, consider to use WinForms.

    If your application is fully managed (doesn't contain unmanaged function calls), it is fully compatible with any Windows version. But if desired, you can use virtual machines for testing.