将Visual Studio设置为默认情况下以Windows Phone 7仿真器为目标吗? [英] Set Visual Studio to target Windows Phone 7 emulator by default?

查看:121
本文介绍了将Visual Studio设置为默认情况下以Windows Phone 7仿真器为目标吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这周我在Visual Studio中安装了一个新的Windows Phone 7模板,现在每次打开一个项目时,VS会将默认调试环境设置为以我的物理电话(而不是模拟器)为目标.这很烦人,因为我要在本地调试10次中的9次,而我打F5只是得到未启动Zune软件.请确保已启动Zune软件,然后重试."错误.

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.

有人知道如何将默认设置重新设置为Windows Phone 7模拟器吗?

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

推荐答案

默认部署目标

在安装2011年1月更新时,Visual Studio中Windows Phone项目的默认部署目标将更改为Windows Phone 7设备.您可以通过以下步骤将默认目标更改为Windows Phone 7仿真器:

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. 关闭所有Visual Studio和Windows Phone Emulator实例.
  2. 删除%LocalAppData%\ Microsoft \ Phone Tools \ CoreCon的内容.
  3. 重新启动Visual Studio.

查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆