在没有模拟器的情况下在Windows 7 64位上的Visual Studio 2013中开发Window Store应用 [英] Developing Window Store Apps in Visual Studio 2013 on Window 7 64-bit without emulator

查看:69
本文介绍了在没有模拟器的情况下在Windows 7 64位上的Visual Studio 2013中开发Window Store应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这将是一个很长的问题,但请忍受直到最后.在详细介绍之前,下面是我的PC环境:

  • Windows 7 Professional x64
  • Visual Studio Community 2013更新4

最重要的是,我检查了我的PC处理器是否使用:-

  • Windows Phone 8.0开发需要Windows 8.1(x64)或更高版本
  • Windows Phone 8.1开发需要Windows 8.1(x86)或更高版本
  • 对于Windows Phone模拟器,Windows 8.1(x64)Professional版本或更高版本,以及支持Client Hyper-V和二级地址翻译(SLAT)

但是来自,表明Visual Studio项目模板的 RequiredPlatformVersion 元素正在过滤模板.但是,我尝试将空白Windows Phone 项目模板元素的值更改为文档中指定的8,并且将其他一些值设置为小于6.3.0,但仍然无法显示该模板.

然后,我尝试安装名为 Windows Phone模板包,然后在我的添加新项目窗口中添加两个窗口电话项目模板,如下所示.

我使用该模板创建了一个空项目,令人惊讶的是,我能够打开Windows Phone 8.1项目,如下图所示.

那使我想到应该可以开发Windows Phone 8.1应用程序,但不能模拟它,但是我现在不知道如何解决它.我什至尝试查看denv.exe.config文件来试试运气,但那里也没有兴趣.

有没有人能在类似的PC环境中成功构建Windows Phone 8.1应用程序?解决方法就足够了.

解决方案

这很抱歉,但是Windows 8.1是开发人员的要求,因为通常在初始化时仿真器会尝试像基本主题等选项那样将OS加载到设备中.
1)您可以尝试将Windows Phone连接到PC,然后选择部署到设备".(尽管它可能会起作用,并且您仍可以进行调试,但是当您尝试创建要在Windows应用商店上载的发行版本软件包时,仍然会遇到问题.即使这些修补程序可能会在短期内起作用,但对于Windows 10而言,要发布,您将不得不等待修补程序为之开发应用程序.)
2)您可以尝试在VMWARE中安装Windows 8.1并进行部署.

This is going to be quite a long question but please bear with me till the end. Before going into the details, below are my PC environments:

  • Windows 7 Professional x64
  • Visual Studio Community 2013 Update 4

On top of that, I checked my PC's processor does support virtualization using Intel® Processor Identification Utility.

I also installed all the required SKD 8.1 components required to develop Windows phone 8.1 apps as shown in the picture below.


Now I clearly understands from the visual studio website requirements:-

  • Windows Phone 8.0 development requires Windows 8.1 (x64) or higher
  • Windows Phone 8.1 development requires Windows 8.1 (x86) or higher
  • For the Windows Phone emulators, Windows 8.1 (x64) Professional edition or higher, and a processor that supports Client Hyper-V and Second Level Address Translation (SLAT)

But from this SO Q&A it seems like developing windows 8.1 phone apps is still possible. However when I try to open an existing windows phone 8.1 project I got the error as shown in the picture below:

On top of that, in my Add New Project window there are no Windows Store Apps templates showing up.

I later found out from this msdn documentation that the RequiredPlatformVersion Element of the Visual Studio project template is filtering out the templates. However I tried to change the Blank Windows Phone project template element's value to 8 as specified in the documentation and also a few others value smaller than 6.3.0 but still fail to show the template.

Then I tried to install an extension called Windows Phone Template Pack which then adds two window phone project templates in my Add New Project window as shown below.

I created an empty project using that template and surprisingly I am able to open the windows phone 8.1 project as shown in the picture below.

That got me thinking that it should be possible to develop windows phone 8.1 apps but not emulating it but I am out of ideas on how to work around it now. I even tried looking at the denv.exe.config file to try my luck but there's nothing of interest there either.

Is there anyone that successfully build a Windows Phone 8.1 apps in an similar PC environment? A workaround will be sufficient.

解决方案

Sorry to say this but Windows 8.1 is a requirement for developing as usually emulators on being initialized tries to load the OS into the device like the basic theme etc options.
1) You can try to connect your Windows phone to your PC and select Deploy to Device. (Though it might work and you will be able to debug yet still you would face a problem when you try to create a release build package to be uploaded on windows store. Also even though the fixes might work for short period but with Windows 10 about to be released you would be stuck with waiting for a fix to develop apps for that.)
2) You can try installing windows 8.1 inside VMWARE and deploy it.

这篇关于在没有模拟器的情况下在Windows 7 64位上的Visual Studio 2013中开发Window Store应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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