In general, I assembled a wpf project on windows 7 (.NET 4.5) x86_64 under a 32-bit version ... I am trying to run on windows xp x86 - say, exe-shnik is not a Win32 application ... what could be the jamb? .NET 4.0 on xp worth

  • And if you put 4.5? - VladD
  • But will 4.5 get up then? - xperious
  • Or compiled under 64 or downgraded to 4.0, heard that in XP 4.5 the problem .. - xSx
  • it is impossible to lower it, I am there async / await nasobachil - xperious
  • Okay, changing the strategy. And if you compile with .NET 4.0? Wednesday like OK allows? - VladD

1 answer 1

The program made for 4.5 should not be launched on 4.0 (on the contrary, please).

If you need to run under WinXP - build your program under 4.0 (or even 2.0 / 3.5). Only it is necessary to put some system classes as packages from nuget or write it yourself.

To support async / await, you can use the Microsoft.Bcl.Async package .

It may also make sense to copy the implementation of system classes from Reference Source , .NET Core, and Mono projects. In the last project, it also makes sense to look in the history of the old implementation of the system classes, which are now replaced by the implementation of the first two projects. Well, do not forget to see the license if you are engaged in copy-paste.

  • understood, thanks for the comment - xperious