尝试使用 TDS 获取站点核心项目时出现 OnPropertyChanged 异常

问题描述

当前设置:

  1. Sitecore 9.1
  2. TDS TDS 5.8.0.6

我创建了一个 TDS 项目来连接到 sitecore 实例,我正在尝试获取所有 sitecore 项目。我收到以下异常消息:

enter image description here

Exception OnPropertyChanged must be called on the UI thread. (COMException):
   at Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(String callerMemberName)
   at Microsoft.VisualStudio.Platform.WindowManagement.OrderableProject.OnPropertyChanged(UInt32 itemid,Int32 propid,UInt32 flags)
   at Microsoft.VisualStudio.Project.HierarchyNode.ReDraw(UIHierarchyElement element)
   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreItemNode.RefreshItemInProject()
   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreItemNode.RefreshSitecoreInfo(String sitecoreItemPath)
   at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreItemNode.RefreshSitecoreInfo()
   at HedgehogDevelopment.SitecoreProject.VSIP.Dialogs.GetItemStatus.GetItem(CheckedSitecoreItem item,Dictionary`2 creatednodes)
   at HedgehogDevelopment.SitecoreProject.VSIP.Dialogs.GetItemStatus.GetItemsWorker()

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)