Changing the Default Windows Phone 7 Deployment Target In Visual Studio 2010

After you download and install the January 2011 Windows Phone update, you will notice one annoying thing.

The default deployment target for Windows Phone Projects in Visual Studio changes to Windows Phone 7 Device. Before the update, it defaulted to the Emulator.

image

I found this extremely annoying as Iā€™m more than likely going to test with the emulator before putting it on my actual device.

Now to make things fair, Microsoft told you they were going to switch the default and even provided a solution, but you will have to check a tiny paragraph in the release notes.

image

The good news is that its very easy to do:

Simply navigate out to : %LocalAppData%\Microsoft\Phone Tools\CoreCon

SNAGHTML5441179

See the folder named, ā€œ10.0ā€? Go ahead and delete it. Now, the folder will be completely empty and if you fire up Visual Studio 2010 you will see we are now defaulting to the Emulator again.

image

In my opinion, this should have been left at Emulator. Now, new WP7 developers will get a build error when they first start a WP7 project and will not know why until they read the error list.



windows-phone7 wp7
Posted by: Michael Crump
Last revised: 06 Mar, 2012 12:57 AM

Comments

No comments yet. Be the first!

No new comments are allowed on this post.

Hosting provided by http://www.DiscountASP.NET