c# - Targeting .NET 4.0 gives invalid Win XP application since TFS .NET 4.5 upgrade -
we have tfs build server (i think it's called build controller in tfs terminology). builds , deploys several solutions. 1 of these solutions, windows forms project targeting .net 4 full profile , x86, used work fine on windows xp, , fails run message:
*.exe not valid win32 application on windows xp
we have build 3 months ago works fine , nothing relevant has changed in source code since. when requesting new build build server now, resulting .exe (with lot of .dlls support it) cannot run on windows xp 32-bit. same build runs fine on windows 7 32-bit , windows 7 64-bit.
my best guess installed on build server in last 3 months making difference. lot of stuff has been installed, including .net 4.5, visual studio 2012 etc. still, shouldn't change solution targeting 4.0.
any ideas?
.net 4.5 upgrades .net 4.0 if have .net 4.5 installed on build server, , you're targetting .net 4.0, isn't same .net 4.0 have installed on xp. cannot install .net 4.5 on xp. this blog goes in more detail.
basically if want support xp, cannot use .net 4.5 / visual studio 2012. (or have them installed on build machines)
Comments
Post a Comment