ERROR  Class:EAGLE.Project.App property:[(null)] Info:Error
System.InvalidOperationException: 此 Visual 未连接到 PresentationSource。
   在 System.Windows.Media.Visual.PointToScreen(Point point)
   在 Microsoft.XamlDiagnostics.WpfTap.WpfVisualTreeService.Adorners.AdornerLayerWindow.UpdatePlacement()
   在 Microsoft.XamlDiagnostics.WpfTap.WpfVisualTreeService.Adorners.AdornerLayerWindow.<UpdatePlacementAsync>b__77_0(Object obj)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

产生以上问题具体原因暂时没找到!

 

 

 

解决方案

工具->选项->调试->常规->        

取消选中:为XAML启用UI调试工具 

如下图

WPF System.InvalidOperationException: 此 Visual 未连接到 PresentationSource解决方案 

参考地址

相关文章:

  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2021-12-11
  • 2021-11-19
  • 2022-01-01
猜你喜欢
  • 2022-01-08
  • 2021-05-17
  • 2021-10-17
  • 2021-10-11
  • 2021-12-25
  • 2022-12-23
  • 2021-07-16
相关资源
相似解决方案