【发布时间】:2014-06-02 17:26:29
【问题描述】:
我正在开发一个 Windows Phone 应用程序并尝试将其部署在模拟器和实际设备上,每当我点击调试按钮时,Visual Studio 就会崩溃并重新启动。我也试过用管理员权限运行它。
我检查了事件日志,错误在 Phone tools/conman2.dll 中
异常如下:
日志名称:应用程序应用程序:devenv.exe 框架版本: v4.0.30319 描述:进程因未处理而终止 例外。异常信息:System.AccessViolationException 堆栈:
在 Microsoft.VisualStudio.DeviceConnectivity.Interop.ConManServerClass.ConnectDevice() 在 Microsoft.SmartDevice.Connectivity.Device.Connect() 在 Microsoft.SmartDevice.Connectivity.Wrapper.ConnectivityWrapper11.CreateConnectedDeviceInstance(Microsoft.SmartDevice.Connectivity.Device) 在 Microsoft.SmartDevice.MultiTargeting.Connectivity.ConnectableDevice.Connect() 在 Microsoft.VisualStudio.CommonProject.SmartDevice.Deploy.DeployTask.Execute() 在 Microsoft.VisualStudio.SmartDevice.ProjectSystem.SilverlightMobileVSProjectFlavorCfg.Deploy(System.Object) 在 System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) 在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback,System.Object,布尔值)在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback,System.Object,布尔值)在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() 在 System.Threading.ThreadPoolWorkQueue.Dispatch() 在 System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
我无法解决问题我也尝试运行 devenv.exe /resetuserdata 但没有帮助。
我是否缺少任何配置?
【问题讨论】:
标签: visual-studio visual-studio-2012 windows-phone-8 visual-studio-debugging windows-phone-toolkit