How do I target .NET 4.0.3 on XP using Visual Studio 2012? Application fails to run with “not a valid Win32 application”

前端 未结 6 1399
庸人自扰
庸人自扰 2020-12-14 17:54

I have a large application targeting .NET 4.0.3 that needs to run on XP. It builds fine using Visual Studio 2010 SP1 and runs properly on XP.

Building using Visual S

6条回答
  •  执笔经年
    2020-12-14 18:34

    I'm not certain this will work, but try the trick shown here to manually set the subsystem version with EditBin.exe.

提交回复
热议问题