Visual studio Visual Studio 2012在部署windows phone应用程序时崩溃
我正在开发一个windows phone应用程序,并尝试在模拟器和实际设备上部署它,每当我点击调试按钮Visual Studio崩溃并重新启动时。我还尝试用管理员权限运行它 我已经检查了事件日志,错误在Phone tools/conman2.dll中 例外情况如下: 日志名称:应用程序应用程序:devenv.exe框架版本: v4.0.30319说明:进程因未处理的错误而终止 例外异常信息:System.AccessViolationException堆栈:Visual studio Visual Studio 2012在部署windows phone应用程序时崩溃,visual-studio,visual-studio-2012,windows-phone-8,visual-studio-debugging,windows-phone-toolkit,Visual Studio,Visual Studio 2012,Windows Phone 8,Visual Studio Debugging,Windows Phone Toolkit,我正在开发一个windows phone应用程序,并尝试在模拟器和实际设备上部署它,每当我点击调试按钮Visual Studio崩溃并重新启动时。我还尝试用管理员权限运行它 我已经检查了事件日志,错误在Phone tools/conman2.dll中 例外情况如下: 日志名称:应用程序应用程序:devenv.exe框架版本: v4.0.30319说明:进程因未处理的错误而终止 例外异常信息:System.AccessViolationException堆栈: 在 Microsoft.Visual
在 Microsoft.VisualStudio.DeviceConnectivity.Interop.ConManServerClass.ConnectDevice() 位于Microsoft.SmartDevice.Connectivity.Device.Connect()的 Microsoft.SmartDevice.Connectivity.Wrapper.ConnectionyWrapper11.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_上下文(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.\u ThreadPoolWaitCallback.PerformWaitCallback() 我无法修复问题,我也尝试运行了
devenv.exe/resetuserdata
,但没有任何帮助
我是否缺少任何配置?我认为,只要您想在真实设备中部署应用程序,就必须以发布模式运行该应用程序。看这段视频,里面有一个很好的解释
您也可以在实际设备上部署调试版本。