Visual Studio 2017 - 模拟器消失

时间:2017-10-30 20:55:04

标签: uwp visual-studio-2017 windows-10-universal

昨天我已经安装了

  • Windows 10 Fall Creators更新SDK(版本10.0.16299.15),
  • 适用于Windows 10的Microsoft Mobile Emulator(版本15254.1)

安装新SDK后,我的模拟器完全从Run Button中删除。甚至本地机器。我有Visual Studio 2017(版本15.4.1)。 第二件事是当我运行Visual Studio Installer时,我看到SDK和模拟器的所需内容被检查。

SDK和Mobile Emulator版本令我困惑。另外,我累了修复Visual Studio但没有运气。

修改:“运行”按钮上列出的所有内容都是“开始”'和#39;下载新的模拟器' (甚至不是本地机器)

感谢您的帮助。

更新

enter image description here

我有4个项目在解决方案中。 1个UWP项目,2个类库项目和1个测试项目。它们都具有相同的目标/分钟版本(如图所示)。

此外,安装了SDK和模拟器

的SDK

  • Windows 10.0.16299.15
  • Windows 10.0.15063.468
  • Windows 10.0.15063.137
  • Windows 10.0.14393.795
  • Windows 10.0.14393.33
  • Windows 10.0.10586.212

仿真器

  • HoloLens Emulator 10.0.14393.0
  • HoloLens仿真器图像10.0.14393.0
  • Emulator 10.0.15254.1
  • 模拟器10.0.15063.137
  • 模拟器10.0.14393.0
  • Mobile Image 10.0.15254.0
  • Mobile Image 10.0.15063.0
  • Mobile Image 10.0.14393.0

再次感谢。

2 个答案:

答案 0 :(得分:2)

好吧,我为VS2017做了干净安装。删除了每个VS应用程序。重新安装。工作

答案 1 :(得分:1)

该问题可能是由UWP项目中的最低版本设置引起的。 转到项目属性>应用程序选项卡>目标区域,然后调整最低版本。这将导致解决方案关闭并重新打开。重新打开后,请检查“运行”菜单。

请参见Run menu isn't offering Windows 10 Mobile Emulator despite being installed

这是正在进行的事情的另一种解释,您可以对此做些什么。

Windows 10 mobile emulator (ver. 15254) not available for UWP/.NET Core/Xamarin project debugging