I\'ve migrated a Lightswitch 2011 project to LS 2012. I start the compiled application by running \"vslshost.exe\". This works well using Windows 7 (32 and 64 Bit, but when
I had the same problem, managed to get it working by doing the following. I started up a Visual Studio Command Prompt and ran dumpbin on the executable:
dumpbin /headers vslshost.exe
dumpbin showed that the sub system version was set to 6 (Vista). Strangely the OS version was set to 4. Following the instructions on this page http://supportxp.com/2012/03/30/editbins-dirty-little-secret/ I used editbin to set the version numbers to 5.1 (XP)
editbin vslshost.exe /SUBSYSTEM:WINDOWS,5.01 /OSVERSION:5.1
Tested it out and my application it working fine on XP so far. I also tried getting the generated installer to work but it failed on a function call to InitializeCriticalSectionEx which doesn't exist in XP.
Or you can deploy it as a desktop application with the services deployed to IIS. That method seems to support XP just fine.