4

I installed a new Windows Phone 7 template this week in Visual Studio, and now every time I open a project, VS sets the default debugging environment to target my physical phone instead of the emulator. It's annoying, because 9 times out of 10 I want to debug locally, and I hit F5 only to get the "Zune software is not launched. Retry after making sure that Zune software is launched." error.

Has anyone figured out how to set the default back to the Windows Phone 7 emulator?

Josh Earl
  • 18,151
  • 15
  • 62
  • 91

2 Answers2

4

Default Deployment Target

When you install the January 2011 Update, the default deployment target for Windows Phone Projects in Visual Studio changes to Windows Phone 7 Device. You can change the default target to Windows Phone 7 Emulator by using the following steps:

  1. Close all Visual Studio and Windows Phone Emulator instances.
  2. Delete the contents of %LocalAppData%\Microsoft\Phone Tools\CoreCon.
  3. Restart Visual Studio.

Source

Martin
  • 11,031
  • 8
  • 50
  • 77
  • Worked like a charm, Martin. I also installed the January 2011 update this week, but didn't notice the change until after I was playing with the new template. Thanks for the help! – Josh Earl Feb 26 '11 at 15:23
  • I have same issue with WP8 SDK not showing deployment targets(dont know for what reason) in VS or Blend also resolved with this trick. – Gheorghe Bulicanu Mar 19 '13 at 22:15
1

I have an easy way. Go to visual studio -> tools -> setting and then select expert setting.

ЯegDwight
  • 24,821
  • 10
  • 45
  • 52
sohrab
  • 11
  • 1