UndHandled异常已经发生

时间:2015-11-17 03:52:06

标签: visual-studio

我的视觉工作室有一些问题,这是来自visual studio的一些logcat

Severity    Code    Description Project File    Line
Error       Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '30F105C9-681E-420b-A277-7C086EAD8A4E'.': 
DeviceException - Deployment failed because no Windows Phone was detected. Make sure a phone is connected and powered on.   Kelompok1       
Error       Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found. Deployment failed because no Windows Phone was detected. Make sure a phone is connected and powered on.    Kelompok1   

然后我在这里有一些线索

System.Exception
To install this application you need either a Windows developer license or a sideloading-enabled system.

Deployment of package App.a033e7614.afc07.a40e2.a80a7.aac85aa4b485c_1.0.0.0_x86_NorthAmerica_8wekyb3d8bbwe failed because no valid license or sideloading policy could be applied. A developer license (http://go.microsoft.com/fwlink/?LinkId=233074) or enterprise sideloading configuration (http://go.microsoft.com/fwlink/?LinkId=231020) may be required.
   at Microsoft.VisualStudio.DesignTools.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, IIsolationTarget isolationTarget, String baseDirectory)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
   at Microsoft.VisualStudio.DesignTools.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.Initialize()
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedObjectFactory.Initialize()
   at Microsoft.VisualStudio.DesignTools.DesignerHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry, IServiceProvider serviceOverrides)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.<>c__DisplayClass10_0`1.<StartTask>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

任何人都可以帮助我吗?

2 个答案:

答案 0 :(得分:3)

我遇到了同样的问题,我通过启用Windows手机的开发者模式解决了这个问题。

GOTO:

  1. 设置
  2. 电话更新和安全
  3. FOR DEVELOPERS
  4. SELECT DEVELOPER MODE。向下滚动并:
  5. 选择将您的设备显示为USB连接和本地网络。
  6. 希望这有帮助,因为它为我解决了它,它会要求您在设备上运行之前部署解决方案。

答案 1 :(得分:0)

今天又出现了问题,甚至无法在Windows资源管理器中看到手机,这次解决方案是Visual Studio有一个需要应用的更新,以及手机已准备好安装更新。

一旦更新,我就可以在Windows资源管理器中看到手机,并能够将应用程序部署到手机上。希望这会有所帮助。