官术网_书友最值得收藏!

Deploying your first app to the emulator

To make sure that everything works fine, we will first see if we can deploy the app to the HoloLens emulator. If you have decided not to install this and choose to use a physical device instead, please skip to the next part.

In the menu bar, you can choose the environment you want to run the app on. You might be familiar with this, but if you are not, this is where you specify where the app will be deployed. You have several options, such as the local machine and a remote machine. Those two are the most used in normal development, such as if you are writing a universal Windows platform application or a website, but that will not work for us. We need to deploy the app to a Holographic capable device such as the emulator. If you have installed that, it will show up here in the menu, as follows:

The version of the emulator might be different on your system--Microsoft continuously updates its software, so you might have a newer version. The one shown here is the latest one that was available during the writing of this book.

Now that you have selected this, you can select Run (through the green arrow, pressing F5, or through the Debug | Start Debugging menu). If you do that the emulator will start up. This might take some time. After all, it is starting up a new machine in the Hyper-V environment, loading Windows 10, and deploying your app.

However, after a couple of minutes, you will be greeted with the following view:

Our first HoloLens app in the emulator!

You will see a rotating multicolored cube on a black background.

主站蜘蛛池模板: 鹤壁市| 定远县| 屯留县| 微山县| 吐鲁番市| 治多县| 浦城县| 印江| 防城港市| 茶陵县| 洛浦县| 蓬莱市| 扶风县| 锡林浩特市| 沧州市| 通州市| 兴安县| 行唐县| 新泰市| 曲靖市| 肃北| 鄂伦春自治旗| 永春县| 年辖:市辖区| 佳木斯市| 赤水市| 广安市| 尉犁县| 高青县| 东阿县| 将乐县| 平定县| 沧州市| 荥经县| 临湘市| 蛟河市| 浙江省| 青田县| 高淳县| 酒泉市| 桐柏县|