Installing Windows Phone 7.1 SDK on Windows 8

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:documentsvisual studio 2010ProjectsPhoneApp1PhoneApp1objDebugXapCacheFile.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 🙂