How to target Windows Phone 7.5 in a Windows Phone 8 project

Someone asked on Stack Overflow:

I have build an app using Visual Studio 2012 for Windows Phone and when I started developing I selected Windows Phone 8.0 as target.

Now that the app has been deployed I have customers asking to provide a 7.5 version. Is there a way to “downgrade” the target of a project in Visual Studio 2012?

I have checked some questions here that talk about supporting both 7.5 and 8 but none is about downgrading an existing project.

I posted the following answer, which was chosen as the accepted answer and received 3 upvotes:

You will need to install the Windows Phone 7.1 SDK (Which is to consumers v7.5). You’ll also need to create a new Project and target Windows Phone 7.1.

If you are not using Windows Phone 8 exclusive APIs, you can probably just “Add As Link” all the files in your Windows Phone 8 project to the Windows Phone 7.1 project and just re-compile. Even if you are, you can still use this approach, you will just need to use compiler directives to fix whatever API issues you find at compile time.

Here is an article that explains the different ways to target both WP7.1 and WP8. The one I’m suggesting is the last in this list: How to target multiple versions with your app for Windows Phone

Notable comments

Nate (0 upvotes): That is correct. You will need one project per “output” type, in this case, WP7 and WP8. Like I said though, that doesn’t necessarily mean fully duplicate code though.


Originally posted on Stack Overflow — 3 upvotes (accepted answer). Licensed under CC BY-SA.

signed letter b

Dad. Geek. Gamer. Software developer. Cloud user. Old Car enthusiast.  Blogger.


Top Posts


profile for Nate on Stack Exchange, a network of free, community-driven Q&A sites
a proud member of the blue team of 512KB club
Thoughts, opinions, and ideas shared here are my own. © 2026 Nate Bross.