Biztalk Mapper 崩溃 Visual Studio 2015 社区版

Biztalk Mapper crashing Visual Studio 2015 Community Edition

当我在 VS Community 2015 Version 14.0.25431.01 Update 3 中打开 .btm 文件并选择 "Open Source Schema" 时,VS 崩溃("Microsoft Visual Studio 2015 has stopped working" ) 在事件日志中出现此错误:

Application: DevEnv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentNullException
   at System.Runtime.InteropServices.Marshal.GetObjectForIUnknown(IntPtr)
   at     Microsoft.Azure.Integration.DesignTools.Studio.Utilities.BizTalkProjectHelper.GetService(System.Guid, System.Guid, 

Microsoft.VisualStudio.OLE.Interop.IServiceProvider)
   at Microsoft.Azure.Integration.DesignTools.ArtifactBrowser.HierarchyHelpers.GetBtsProjectService(Microsoft.VisualStudio.OLE.Interop.IServiceProvider)
   at Microsoft.Azure.Integration.DesignTools.ArtifactBrowser.ProjectContainer.InitProject(Microsoft.VisualStudio.Shell.Interop.IVsHierarchy)
   at Microsoft.Azure.Integration.DesignTools.ArtifactBrowser.ProjectContainer.Expand()
   at Microsoft.Azure.Integration.DesignTools.ArtifactBrowser.ABContainerNode.OnExpand()
   at Microsoft.Azure.Integration.DesignTools.ArtifactBrowser.ABTreeView.OnBeforeExpand(System.Windows.Forms.TreeViewCancelEventArgs)
   at System.Windows.Forms.TreeView.TvnExpanding(NMTREEVIEW*)
   at System.Windows.Forms.TreeView.WmNotify(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.TreeView.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

这是我得到 Biztalk Server 20160 Developer edition ISO 的地方。 (我没有刻录DVD,我只是解压ISO并安装)

有没有人以前看过这个或者有什么建议?

谢谢

这些是我发现解决此问题的步骤:

  1. 安装Visual Studio Community 2015 with Update 3
  2. 安装Biztalk Server 20160 Developer edition ISO。 (我没有刻录 DVD,我只是使用 WinRaR 解压缩 ISO 并安装)
  3. 安装Microsoft Azure Logic Apps Enterprise Integration Tools for Visual Studio 2015(这大概是防止VS后来崩溃的原因,不过好像是VS重启不止一次才生效)
  4. 新项目
  5. Select 逻辑应用程序 - 集成帐户作为模板
  6. Select一个名字就OK
  7. 在项目下,select 添加用户控件
  8. Select Map 作为项目,Add
  9. 将要使用的架构添加到项目中。
  10. 此时您可以 select 您的 xsd(s) 用于开源模式 link 和开放目标模式 link。 (他们是从项目中挑选的,不是从磁盘中浏览的)
  11. 在这里我可以开始地图编辑,但是 运行 进入 卸载“Microsoft Biztalk*”所有内容后,我可以使用工具箱,所以看来安装 Biztalk Server 20160 Developer 版是不仅没有必要,而且毫无帮助。
  12. 因此,虽然我可以编辑地图,但无法测试它们。测试 returns“自定义组件调用失败。”
  13. 我重新安装(修复)了 Microsoft Azure Logic Apps Enterprise Integration Tools for Visual Studio 2015 并修复了“自定义组件调用失败”。

我在集成工具上重新运行修复工具 3 次,然后能够简单地将地图作为新项目添加到项目中,崩溃停止了。