我正在尝试构建应用程序并将其部署到新安装的VS2015和模拟器。构建成功,但部署失败。
1>------ Build started: Project: Smarty2, Configuration: Debug x86 ------
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(2459,5): warning : APPX4001: Build property AppxBundlePlatforms is not explicitly set and is calculated based on currently building architecture. Use 'Create App Package' wizard or edit project file to set it.
2>------ Deploy started: Project: ___, Configuration: Debug x86 ------
Severity Code Description Project File Line Suppression State
Error DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device 'DA831653-315E-41D9-BF63-CCCE346F4E9C'.':
Exception - 0x80131500 ___
我尝试使用this answer from How to run the Windows Phone 10 Emulator?
直接运行模拟器,但它失败并出现以下异常:
Unhandled Exception: System.Management.ManagementException: Provider load failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Linq.Enumerable.<CastIterator>d__94`1.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at Microsoft.Xde.Wmi.NetNat.FindNatObj(String natName)
at Microsoft.Xde.Wmi.NetNat.IsSupported()
at Microsoft.Xde.Client.XdeController.Run(String[] args)
at Microsoft.Xde.Client.Program.Main(String[] args)
我使用accepted answer here检查了Hyper-V,它说它可用。
我很茫然,我该怎么做才能解决这个问题?