Migrate to SharePoint 2013 & Office 365 for free with Metalogix
Recently, I got the Windows 8 Enterprise Evaluation installed on my laptop and also installed the Windows Phone 7.1 Developer Tools on the Windows 8 system .
When I started to build my Windows Phone App in Visual Studio 2010, I ended up getting the following error
“C:\documents\visual studio 2010\Projects\PhoneApp1\PhoneApp1\obj\Debug\XapCacheFile.xml’. Please rebuild the solution and try again.”
Rebuilding the Visual Studio solution further resulted in the following error
“The target “GetCopyToOutputDirectoryContentProjectItems” does not exist in the project”
Without much difficulty, I was able to solve the issue. Thanks to Kunal who quickly pointed me to the exact reason of the error and explained me the steps to be followed to solve this issue.
The main reason of this error was the issue with the installation of the Microsoft XNA Game Studio 4.0.
I Followed the below steps to get it resolved.
1. Downloaded the XNA Game Studio 4.0 Refresh and installed it from Microsoft Download Centre
3. Download and Install Windows Phone 7.1.1 Update from Microsoft Download Centre
That’s it, Now, I was able to build and run my Windows Phone project as usual on my Windows 8 System