如何在PC和手机上运行我的Windows手机程序? [英] How can I run my windows phone program on pc and phone ?

查看:169
本文介绍了如何在PC和手机上运行我的Windows手机程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 7上使用visual studio 2012,并在我的笔记本电脑上安装了适用于Windows Phone 8的SDK。

现在我用c#用visual编写我的第一个项目。

你现在我可以通过电脑或手机编译,但我的标准工具栏上没有任何模拟器选项,只有播放选项,当我按下它时,错误显示:

类型'Microsoft.SmartDevice.Connectivity.PlatformNotFoundException'的异常被抛出

当我打算用我的手机运行时,我通过USB线将手机连接到PC,而我的电脑上有我的手机驱动器,但是在visual studio中; 设备选项不会显示在工具栏中。

任何人都可以帮助我吗?

我怎么能看到我的笔记本支持超... v和slat还是没有?

我该怎么做才能运行我的程序?

I use visual studio 2012 on my windows 7 and installed SDK for windows phone 8 on my lap top.
now I write my first project in visual with c#.
as you now I can compile by pc or phone , but there is no any emulator option on my standard toolbar , there is just "play" option that when I push it , a error shows that :
"Exception of type 'Microsoft.SmartDevice.Connectivity.PlatformNotFoundException' was thrown"
and when I'm going to run by my phone , I connect my phone to PC by usb cable and there is my phone drive on my computer but in visual studio ; "device" option doesn't show in toolbar.
can any one help me?
how can I see my lap top support hyper-v and slat or no?
what should I do to run my program??

推荐答案

很容易检查是否可以使用在Windows中运行Hyper-V。

http://www.zdnet.com/blog/bott/does-your-pc-have-what-it-takes-to-run-windows-8s- hyper-v / 4254 [ ^ ]



查看工具 Coreinfo [ ^ ]。它会告诉您是否启用了SLAT。



Windows Phone 8模拟器的系统要求 [ ^ ],它将Windows 8视为操作系统。没有Windows 7.



我不认为可以在Windows 7上运行Windows Phone 8的仿真器。首先,你必须安装Hyper-V并拥有一个支持SLAT的CPU。



但是你可以使用你的Windows Phone来运行和调试你的应用程序。
It is easy to check if use are able to run Hyper-V in Windows.
http://www.zdnet.com/blog/bott/does-your-pc-have-what-it-takes-to-run-windows-8s-hyper-v/4254[^]

See the tool Coreinfo[^] from Microsoft. It will tell if you have a SLAT enabled CPU.

System requirements for the emulator for Windows Phone 8[^], it says Windows 8 as the operation system. No Windows 7.

I do not think it is possible to run the Emulator for Windows Phone 8 on Windows 7. First you have to install Hyper-V and have a CPU that supports SLAT.

But you may use your Windows Phone to run and debug your app.


在努力工作之后互联网和我的笔记本电脑做任何事!我找到了它!
$ 7 $ b在Windows 7我无法调试我的Windows手机程序我应该使用手机,关于使用手机的问题:

起初我修复了我的视觉工作室和windowsphone SDK。

然后我手动安装一些windows phone SDK文件:

packages - > MobileTools - > ProfilerMsis - > MobileTools_ProfilerARM.msi&MobileTools_ProfilerX86.msi

包 - > MobileTools - > WPImages - > MobileTools_WPImages_enu.msi

包 - > MobileTools - > wpsdkcore - > wpsdk_en.msi



现在一切正常:)
after hard working on internet and do anything with my laptop!! I found it!
on windows 7 I can not debug my windows phone programs I SHOULD use Phone , and about problem for using phone :
at first I repaired my visual studio and windowsphone SDK .
then I install some file of windows phone SDK manually :
packages -> MobileTools -> ProfilerMsis -> MobileTools_ProfilerARM.msi & MobileTools_ProfilerX86.msi
packages -> MobileTools -> WPImages -> MobileTools_WPImages_enu.msi
packages -> MobileTools -> wpsdkcore -> wpsdk_en.msi

and now EVERYTHING works :)


这篇关于如何在PC和手机上运行我的Windows手机程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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