本文介绍了UWP Tools离线安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在脱机环境中安装Visual Studio和UWP工具以进行HoloLens开发. Visual Studio和Windows 10 SDK可以很好地安装,但是由于对UWP Tools的依赖,我无法安装HoloLens模板[有意义]. UWP Tools似乎没有任何可用的脱机安装程序,它是VS安装的一部分并通过Internet下载.由于有问题的环境(根据政策)无法连接到互联网,因此我无法 来准备好模板.

I'm trying to install Visual Studio and UWP Tools in an offline environment for HoloLens development. Visual Studio and the Windows 10 SDK installed fine, however I'm unable to install the HoloLens templates due to a dependency on UWP Tools [makes sense]. There doesn't appear to be an offline installer for the UWP Tools available anywhere -- it's installed as a part of the VS installation and downloaded via the internet. As the environment in question cannot, by policy, be connected to the internet, I'm unable to get the templates in place.

有什么建议吗?有没有可以在未记录的地方找到的离线安装程序吗?我确实使用/layout创建了VS安装文件,但其中不包含UWP工具.

Any advice? Is there an offline installer that I can find somewhere that isn't documented? I did use /layout to create the VS installation files, and it did NOT include the UWP Tools.

预先感谢

推荐答案

感谢您在MSDN论坛中发帖.

Thank you for posting in MSDN forum.

请尝试在此处下载 HoloLens仿真器.

1.运行/layout命令,如下所示:

1.Run /layout command as below:

2.选择Microsoft HoloLens应用程序模板并安装:

2. Select the Microsoft HoloLens App Templates and install:

3.然后,您会发现安装程序包中包含所需的模板:

3. Then you will find the installer package contains the template you want:

请注意其系统要求:

HoloLens仿真器基于Hyper-V,并将RemoteFx用于硬件加速的图形.要使用仿真器,请确保您的PC满足以下硬件要求:

The HoloLens emulator is based on Hyper-V and uses RemoteFx for hardware accelerated graphics. To use the emulator, make sure your PC meets these hardware requirements:

  • 64位Windows 10 Pro,Enterprise或Education(家庭版不支持Hyper-V或HoloLens仿真器)
  • 64位CPU
  • 具有4核的CPU(或具有4个核的多个CPU)
  • 8 GB的RAM或更多
  • 在BIOS中,以下功能必须为支持并启用:
    • 硬件辅助虚拟化
    • 二级地址转换(SLAT)
    • 基于硬件的数据执行保护(DEP)
    • 64-bit Windows 10 Pro, Enterprise, or Education (The Home edition does not support Hyper-V or the HoloLens emulator)
    • 64-bit CPU
    • CPU with 4 cores (or multiple CPU's with a total of 4 cores)
    • 8 GB of RAM or more
    • In the BIOS, the following features must be supported and enabled:
      • Hardware-assisted virtualization
      • Second Level Address Translation (SLAT)
      • Hardware-based Data Execution Prevention (DEP)
      • DirectX 11.0或更高版本
      • WDDM 1.2驱动程序或更高版本

      参考:

      https://developer.microsoft.com/en-us/windows/holographic/install_the_tools

      最好的问候,


      这篇关于UWP Tools离线安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 23:52