title: Lightswitch Desktop Application Wont Run in XP SP3
body: <p>I have developed an application in Lightswitch 2012, and now need to deploy it to a desktop PC running XP SP3.</p>
  
  <p>I have already looked at two previous posts <a href="https://stackoverflow.com/questions/12140643/cant-run-lightswitch-2012-programm-under-windows-xp">Can&#39;t run Lightswitch 2012 Programm under Windows XP</a> and 
  <a href="https://stackoverflow.com/questions/12838006/lightswitch-desktop-application-wont-install-in-xp-sp3">Lightswitch Desktop Application Wont Install in XP SP3</a></p>
  
  <p>The two posts both refer to executing [<code>editbin vslshost.exe /SUBSYSTEM:WINDOWS,5.01 /OSVERSION:5.1</code>] to modify the vslshost.exe file, though only the first post says it worked.</p>
  
  <p>In my case, I have tried the above to update the vslshost.exe file, but when I publish my LS2012 project it reverts back to the default vslshost.exe file. And if I manually swap the file with the copy I modified, when I run the deployed app I get the following error:</p>
  
  <pre><code>System.Deployment.Application.InvalidDeploymentException (HashValidation)
      - File, vslshost.exe, has a different computed hash than specified in manifest.
      - Source: System.Deployment
  </code></pre>
  
  <p>So, the questions are</p>
  
  <ol>
  <li>am I doing something wrong? </li>
  <li>is there a master copy of vslshost.exe I need to update instead?</li>
  </ol>
  
  <p>(BTW, I also ran the VS2012 (KB270250 from VS2012 Update 1 CTP 4))</p>
  
  <p>Thanks for your help</p>