如何运行样品。视觉工作室2010
这可能是一个愚蠢的问题,但我已经开发了一段时间,但我仍然无法弄清楚。有时,当我下载 WP7 应用程序的示例时,它会遮盖“运行应用程序”。我可以构建它并且它成功,但我无法运行它。有人知道我如何运行这些示例吗?
我正在查看的示例是“Farseer 物理引擎 3.3.1 示例 XNA”,位于 http:// /farseerphysicals.codeplex.com/releases/view/64108。
This might be a dumb question but I've been developing for a while and I still can't figure this out. Sometimes when I download samples for WP7 applications it shades out the "run application". I can build it and it succeeds but I can't run it. Anyone know how I can run these samples?
The sample I'm looking at is the "Farseer Physics Engine 3.3.1 Samples XNA" at http://farseerphysics.codeplex.com/releases/view/64108.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
WP7
项目尚未设置为默认项目。在解决方案资源管理器
中,右键单击Samples XNA WP7
,然后单击设置为启动项目
。然后您应该能够进行部署。编辑 - 如果您发现无法部署,因为您得到:
转到
Properties
...Configuration Settings
并确保同时选中Build
和Deploy
The
WP7
project hasn't been set as the default one. In theSolution Explorer
, right-click onSamples XNA WP7
and clickSet as Startup Project
. You should then be able to deploy.Edit - If you find that you can't deploy because you get:
go to
Properties
...Configuration Settings
and make sureBuild
andDeploy
are both checked在设备下拉列表中选择了
Windows Phone 模拟器
或Windows Phone 设备
?有时,对于下拉列表中的样本,两者都不会被选中,因此在选择其中一个之前无法运行。
In the device dropdown is
Windows Phone Emulator
orWindows Phone Device
selected?Sometimes with samples that dropdown will have neither selected and therefore can not run until one is selected.