Reputation: 3783
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
Upvotes: 3
Views: 1361
Reputation: 5240
Yap uninstalling and reinstalling the 7.1 update solves this issue; also dont forget to install the January patch too
www.microsoft.com/download/en/details.aspx?id=23854
Upvotes: 0
Reputation: 936
Yes , you need the Windows Phone Mango SDK along with PhoneGap templates to get it to work .
You can find some articles on how to use PhoneGap in Windows Phone from the below link
http://windowsphonerocks.com/category/developerarticles/phonegap/
Upvotes: 1
Reputation: 4387
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.
Upvotes: 2