Search code examples
c#.netwpfwindows-xp.net-4.5

Unable to launch a wpf application on windows XP machine


I have created a WPF application with target Framework 4.5 on Windows 8 machine. The application has reference to two c# dlls with same same target framework. I have used Linq to entities to connect to a MS Sql server database in my application.

Now, When I tried to run the same application by running the exe file located in Debug folder in a Windows XP machine, it gives following error message

D:\Main\TPMS\Debug\TPMS.exe is not a valid win32 application.

What is the issue here?


Solution

  • The .NET Framework 4.5 and later versions are not supported on Windows XP

    NET Framework 4.5 and Windows XP