Cannot start Lightswitch 2012 under Windows XP

I migrated the Lightswitch 2011 project to LS 2012. I run the compiled application by running "vslshost.exe". This works well with Windows 7 (32 and 64 bit, but when I use Windows XP, the application starts to crash (vslshost.exe is not a valid Win32 application). Everything went fine before upgrading to LS 2012.

The application is compiled as a desktop application, it depends on the SQL database available and not using the internal ApplicationData database. I can play this on two PCs, both of which have Windows XP.

After watching vslshosts.exe with ildasm , I try to make the project was compiled using .NET 4.0. Thus, the Framework has not changed with the transfer of the project to LS 2012.

I could not find information about this problem. I ran into some problems related to Windows XP and C ++ using VS 2012.

Do you have any information about this?

Thanks in advance!

+5
source share
2 answers

I had the same problem, I managed to get it to work by following these steps. I ran the Visual Studio command prompt and ran dumpbin in the executable:

dumpbin  /headers vslshost.exe

dumpbin , 6 (Vista). , ​​ 4. http://supportxp.com/2012/03/30/editbins-dirty-little-secret/, editbin 5.1 (XP)

editbin vslshost.exe /SUBSYSTEM:WINDOWS,5.01 /OSVERSION:5.1

, XP. , InitializeCriticalSectionEx, XP.

, IIS. , , XP.

+7

.NET Framework 4.5 Windows Vista. . .

Visual Studio 2012 , .NET 4.0, , Windows XP, (, # 5.0 await/async , .NET 4.5).

0

All Articles