Question

I try to compile a Program for Windows XP.

The problem I have now is, that the .exe Visual Studio creates is not executable under Windows XP.

It gives the message, that .NET Framework 4.5 is not installed. Because of that I compiled it for .NET 4.0, which is installed on the system.

My System:

  • Windows 8.1 64 Bit
  • Visual Studio 2013 Express (C#) / Visual Studio 2012 Express (C#) tried both

The other System:

  • Windows XP
  • .NET Framework 4 installed

My Configuration in VS:

  • Target Framework: ".NET Framework 4"
  • Target Platform: "x86"

I'm a little bit confused, please help.

No correct solution

OTHER TIPS

I found out, why it didn's work xD

I used App.config to configure the applications database connection. But I just retransferred the .exe to the customer. In this configuration file was written the corresponding .NET Version. Cause of that the execution failed.

Thanks for your help.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top