The target “GetCopyToOutputDirectoryContentProjectItems” does not exist in the project

At the time of developing your Windows Phone 7 application, you might see a build error. The build error describes as “The target ‘GetCopyToOutputDirectoryContentProjectItems’ does not exist in the project”.


This small post will describe you the solution to fix this error and build your WP7 apps smoothly. Continue reading and if you still face the issue, let me know.


Recently after installing Windows Phone 7.1 SDK, I noticed that, though the templates are available through Visual Studio 2010 but I am unable to build the simple phone application. I was getting the following error while building the app:


The target “GetCopyToOutputDirectoryContentProjectItems” does not exist in the project


This is due to improper installation of XNA Game Studio 4.0. To resolve this, you need to reinstall the Windows Phone 7.1 SDK tools but this repair might not resolve this issue and you would spend more time doing uninstallation/reinstallation and/or repairing the SDK tools installation.


As this is due to XNA Game Studio installation, hence the simplest and quickest fix of this is to download and manually install the XNA Game Studio 4.0 Refresh.


Click here to download XNA Game Studio 4.0 Refresh


Once you download and install the XNA Game Studio 4.0 Refresh, you will be able to build your Windows Phone 7 applications using Visual Studio 2010 again.


Hope this simple solution will help you to fix the error that you faced. If this post helps you, don’t forget to drop a line below. Follow my blog for latest articles, tips and news on Microsoft platform. Don’t forget to subscribe to and ask your technical queries in my Facebook page. I am also available on Twitter and Google+. Also subscribe to the blog feed or newsletter to get the updates directly.

If you have come this far, it means that you liked what you are reading. Why not reach little more and connect with me directly on Twitter, Facebook, Google+ and LinkedIn. I would love to hear your thoughts and opinions on my articles directly.

Don't forget to share your feedback/queries in the comment section below.


  1. When somеone wгites an post he/ѕhe retains the thοught оf a user in hiѕ/her mind thаt how a usеr can understand it.

    Τhеrefοre that's why this piece of writing is perfect. Thanks!

  2. Thanks Vincent for your feedback. This energizes me to deliver much better content to you in future. Thank you once again.


  3. Thanks a lot for you perfect feedback, it saved time, tried un-installing and re-installing multiple times.

  4. i did follow your this post but i couldn't to fix error success,...please help me,
    i right here your feedback..

    1. Hi nguyen,

      Are you using WP 7.1 SDK or WP 8.0 SDK? This will help me to guide you properly.

  5. I follow your post issue was not solved. I am using WP 7 SDK on windows 8 OS with visual studio 2010

  6. thanks alot.. nice ............

  7. Whoaa..., Thank you so much..., very helpfull


© 2008-2018 Kunal-Chowdhury.com | Designed by Kunal Chowdhury
Back to top