Another post with some questions noted during the Hololens Tour (link). During the session, I was sharing some of my “lessons learned” and one of them was related to the application deployment scenarios when we are working with Microsoft Hololens and Visual Studio 2017.
My main recommendation was to use a (long) USB cable connected to the PC running Visual Studio to deploy and debug Apps in the Hololens. This way of works is almos X3 times faster than deploy via a WiFi network.
The following image display the amount of time consumed during a deploy process using WiFi as connection channel. In this sample, I used a simple “Hello World” demo app, only a cube in front of the user PoV and some HoloToolkit prefabs to save some code and time.
The final time for the complete deploy process from Visual Studio 2017 to Hololens is 0:00:14.276
The next image displays the same scenario with a different deployment channel, changed from “Remote Machine” to “Device”. For this I got my Hololens device connected to my Visual Studio 2017 PC using a USB cable.
In this scenario the time is 00:05.232
In both scenarios:
- I clean up the device and the App is deployed from scratch.
- Previous to the deploy, the app source code is generated from Unity3D started the build and deploy.
There is another option to deploy an App: use the Device Developer Portal and upload an UWP App package directly to the device. I do not cover this option in this post.
Finally, in Visual Studio Dev Center there is a good article which cover all the necessary steps to perform this deploy operations working with Visual Studio 2017 and Hololens (link). You can understand the step by step process here for all the operations you need to perform when you are deploying and debugging operations using VS2017 and Microsoft Hololens.
Greetings @ Toronto
- Visual Studio Dev Center, Using Visual Studio
El Bruno, my posts
- Device Portal Basic Features for Developer
- How to Import the HoloToolkit Unity
- How to place a Hologram using AirTap and HoloToolkit
- Creating a menu with options with HoloToolkit
- Using voice commands to display a menu with HoloToolkit
- How to create a 3D text always visible using HoloToolkit
- How to create a HUD (3D text always visible without HoloToolkit)
- How to detect hands using HoloToolkit
- Windows 10, Xbox One Controller, Bluetooth and some lessons learned
- How to use Fire Buttons actions with an XBoxOne Controller
- HoloToolkit compiled packages for Unity3D in GitHub
- How to detect AirTap and Click actions using HoloToolkit
- Detect user hand interactions using #HoloToolkit
- Moving and rotating Holograms using an XBoxOne Controller
- Spatial Understanding vs Spatial Mapping, and a tutorial on how to use them
- Spatial Mapping, tutorial to search for simple surfaces, like a 1×1 tile on the floor
- Alternative to fix the Tap to Place and World Anchor issue, until the official release of HoloToolkit for Visual Studio 2017 and Unity3D 5.6
- How to save a #3D model of the environment around the device