Albert Gao
Albert Gao

Reputation: 3769

Error when upgrade WP7 project to WP8 using VS2012

When I try to upgrade my current WP7 project to a WP8 version using VS2012 built-in feature "Upgrade to Windows Phone 8.0"

I received an error message:

Upgrade to the project could not be completed. Object reference not set to an instance object.

This error has little useful information to work with, how to solve it?

Upvotes: 0

Views: 156

Answers (1)

Alexandr
Alexandr

Reputation: 1901

If you want run app in WP 8 devices, perhaps you'll have a problem with the screen resolution on devices HTC. The best way is create new WP 8 project and share (add as link) most of the .cs and .xaml files of your WP7 project. I did it guided by the article http://www.developer.nokia.com/Community/Wiki/Maintaining_a_WP7_and_WP8_version_of_a_same_Silverlight_application Good luck!

Upvotes: 1

Related Questions