I have installed, Visual Studio 2015 preview, and have begun playing around with Universal Apps.
我安装了Visual Studio 2015预览版,并开始使用Universal Apps。
I would like to see how the app looks on a tablet, but the only options I'm given are for phones.
我想看看这款应用在平板电脑上的外观,但我给出的唯一选择是手机。
If I select Device
I get this error in the output window
如果我选择设备,我会在输出窗口中收到此错误
SmartDeviceException - Deployment failed because no Windows Phone was detected. Make sure a phone is connected and powered on.
SmartDeviceException - 部署失败,因为未检测到Windows Phone。确保手机已连接并已打开电源。
If I select Download New Emulators
, I get directed to This Page, and when I run the setup file downloaded from It, All I get is a window that says:
如果我选择Download New Emulators,我将被定向到This Page,当我运行从It下载的安装文件时,我得到的是一个窗口,上面写着:
The features installed on this computer are up-to-date.
此计算机上安装的功能是最新的。
2 个解决方案
#1
If you run on Windows 10 then there is a simulator which can simulate various tablet resolutions and touch input.
如果您在Windows 10上运行,那么有一个模拟器可以模拟各种平板电脑分辨率和触摸输入。
The emulators are for mobile (phone) devices only.
模拟器仅适用于移动(电话)设备。
#2
You can now install the visual studio 2015RC which is available now. Make sure that you installed the UAP(universal app platform) sdk form
您现在可以安装现在可用的visual studio 2015RC。确保您安装了UAP(通用应用程序平台)sdk表单
https://dev.windows.com/en-us/downloads/install-dev-tools-visual-studio-2015
now you should be able to get a simulator which will help you to see how your app looks in a tablet.You can change various settings like size,resolution..etc.
现在你应该能够得到一个模拟器,它可以帮助你看到你的应用在平板电脑中的外观。你可以改变各种设置,如大小,分辨率......等等。
#1
If you run on Windows 10 then there is a simulator which can simulate various tablet resolutions and touch input.
如果您在Windows 10上运行,那么有一个模拟器可以模拟各种平板电脑分辨率和触摸输入。
The emulators are for mobile (phone) devices only.
模拟器仅适用于移动(电话)设备。
#2
You can now install the visual studio 2015RC which is available now. Make sure that you installed the UAP(universal app platform) sdk form
您现在可以安装现在可用的visual studio 2015RC。确保您安装了UAP(通用应用程序平台)sdk表单
https://dev.windows.com/en-us/downloads/install-dev-tools-visual-studio-2015
now you should be able to get a simulator which will help you to see how your app looks in a tablet.You can change various settings like size,resolution..etc.
现在你应该能够得到一个模拟器,它可以帮助你看到你的应用在平板电脑中的外观。你可以改变各种设置,如大小,分辨率......等等。