Upgrade Windows Phone 7.1 project to Windows Phone 8? RRS feed

  • Question

  • Hi, I have Created Application in visual studio 2010 and windows phone 7.1 version , How can i convert this application to windows phone 8 version, please how can i achieve this. when i am clicking  on Upgrade to windows 8 i am getting error:"Upgrade to the project could not be completed. this reference can not be removed from project, because it is always referenced by the compiler".


    Pallam Madhukar Windows Phone Developer

    Monday, November 5, 2012 5:24 PM

All replies

  • Is this an XNA or Silverlight+XNA project type?  (These project types cannot be upgraded.)

    What "reference" is the error talking about?


    Monday, November 5, 2012 8:37 PM
  • Thank you Eric, 

    I have developed application with silver-light libraries. Now how can i upgrade the project.?

    Pallam Madhukar Windows Phone Developer

    Tuesday, November 6, 2012 4:39 AM
  • You can start by looking at the documentation on upgrading projects.
    • Proposed as answer by Rashmi_A Friday, November 9, 2012 4:50 PM
    Tuesday, November 6, 2012 12:12 PM
  • Greetings Pallam,

    Make sure that the Windows Phone 7.1 version of project has a reference to System.Core.dll and mscorlib.dll before the upgrade.

    Let me know if that does not work for you.

    Thanks and Regards,


    • Proposed as answer by Rashmi_A Friday, November 9, 2012 4:49 PM
    • Unproposed as answer by Rashmi_A Friday, November 9, 2012 4:50 PM
    • Proposed as answer by Daniel Ballinger Tuesday, December 25, 2012 6:38 PM
    Wednesday, November 7, 2012 9:02 AM
  • I had the same issue and found that my project was missing the System.Code.dll reference. I wasn't able to add it via Visual Studio. Instead I needed to use notepad to update the csproj. After that the reference was present and the WP8 upgrade succeeded.
    • Proposed as answer by obviam Thursday, April 4, 2013 2:04 PM
    Tuesday, December 25, 2012 6:55 PM