Thursday, December 13, 2012

BizTalk orchestration opens with #if __DESIGNER_DATA

I am currently working on a project having a bunch of orchestrations that have existed for a while. What the previous developers did with them I don't know but when double clicking on them they are opened in the Designer with a bunch of meta tags.

#if __DESIGNER_DATA #error Do not define __DESIGNER_DATA. #endif // __DESIGNER_DATA [Microsoft.XLANGs.BaseTypes.BPELExportable(false)]






The orchestration can be onpend right clicking on it in the Solution Explorer selecting "Open With..." and then selecting "BizTalk Orchestration Designer (Default)".

This behaviour is annoying and I wanted to fix it. As usual Google is your friend.
I found this blog giving me the solution: http://jeremiedevillard.wordpress.com/2011/09/07/biztalk-tip-open-orchestration-after-edit-using-xml-editor/

This problem was apparently created by someone manually editing the orchestrations using an XML editor.
The fix is to open  project file (.btproj) in a text editor. Find the section similar to this:
  <ItemGroup>
    <XLang Include="MyOrch.odx">
   <SubType>Designer</SubType>
      <TypeName>MyOrch</TypeName>
      <Namespace>MyNamespace</Namespace>
    </XLang>
  </ItemGroup>
Delete the <SubType> element and save your changes. Now the orchestration should open as normal.

1 comment:


  1. تقدم شركتنا افضل الخدمات المنزلية علي الاطلاق حيث انها تقدم خدمات التنظيف المتكاملة مثل تنظيف المنازل والبيوت والفلل والقصور وتنظيف الموكيت وتنظيف الكنب وتنظيف الستائر وغير من العمل النظافة يمكنك زيارة موقعنا لانها هي الافضل علي الاطلاق حيث انها توفر كل الخدمات التاليه:- ارخص شركة تنظيف منازل بالرياض
    شركة تنظيف سجاد بالرياض
    شركة تنظيف ستائربالرياض
    شركة غسيل كنب بالرياض
    شركة تنظيف مكيفات بالرياض
    شركة نقل اثاث بالرياض

    ReplyDelete