I tried to start programming a Windows Phone 7 app with PhoneGap but after copying 'PhoneGapStarter.zip' to the folder described in http://phonegap.com/start#wp and clicking 'PhoneGapStarter" while trying to create a new project in Visual Studio 2010 Express for Windows Phone, instead of creating the project the following error is displayed:
C:\Users\ ...\AppData\Local\Temp\gttg1doh.nd4\Temp\PhoneGapStarter4.csproj(117,3): The imported project "C:\Program Files (x86)\MSBuiId\Microsoft\Silverlight for Phone\v4.0\Microsoft.Siverlight.WindowsPhone71.Overrides.targets" was not found. Confirm that the path in the
<Import>declaration is correct and that the file exists on disk.
I checked this file and I saw that the file 'Microsoft.Siverlight.WindowsPhone.Overrides.targets' (without '71') does exist, but the requested one with '71' doesn't.
Does anyone have an idea what I could do to make PhoneGap work?
Thanks in advance
I just checked my own installation but found the mentioned file. My guess would be that you either have not the latest Windows Phone SDK 7.1 (for "Mango"), which is essential for PhoneGap because the previous version doesn't support HTML5 - or your SDK installation is corrupt. Try re-downloading the latest tools, uninstall your current installation and re-install them. That should solve your problem.