.NET Framework 4.5 Developer Preview not on Windows XP
c# - How to run .Net 4.5 application on windows XP - Stack You cannot run a .NET 4.5 Application on that obsolete system. You need the .NET Framework 4.5 which has the following system requirements: Supported Operating System. Windows 7 Service Pack 1; Windows Server 2008 R2 SP1; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2 Windows Vista SP2 (x86 and x64) The .NET Framework 4.7 offline installer for Windows Jun 30, 2017 .NET Framework 4.5.1 install WINDOWS XP Solutions
Make a C# program with .net Framework 4.5.2 work in Windows XP
Downloads for building and running applications with .NET Framework 4.0 . Get web installer, offline installer, and language pack downloads for .NET Framework. c# - How to run .Net 4.5 application on windows XP - Stack You cannot run a .NET 4.5 Application on that obsolete system. You need the .NET Framework 4.5 which has the following system requirements: Supported Operating System. Windows 7 Service Pack 1; Windows Server 2008 R2 SP1; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2 Windows Vista SP2 (x86 and x64) The .NET Framework 4.7 offline installer for Windows
So I figured out, that the newest or the last version of .net that runs on XP is 4.0. I made a copy of my program and tried to downgrade it in Visual Studio to .net 4.0. Unfortunately when I run my program it showes the GUI for a few seconds and then it chrashes with a BadImageFormatException in System.Windows.Forms.dll even it is a WPF project.
The runtime includes everything you need to run existing apps/programs built with .NET Framework. Download .NET Framework 4.5.1 Runtime. Developer Pack. The developer pack is used by software developers to create applications that run on .NET Framework, typically using Visual Studio. Download .NET Framework 4.5.1 Developer Pack