How can I get the design host from within a NativeActivity? RRS feed

  • Question

  • My main objective is to get the DTE/DTE2 object for the instance of Visual Studio that is hosting the activity within the designer.  My current method is hacky (running object table--blech), and I'd like to replace it if at all possible.  
    Wednesday, May 5, 2010 12:35 AM


  • I think that's a fine way to get the DTE object. :)
    (The workflow designer doesn't expose any particular DTE hosting APIs to you to use.)

    • Proposed as answer by Andrew_Zhu Thursday, May 6, 2010 8:05 AM
    • Marked as answer by Andrew_Zhu Wednesday, May 12, 2010 5:12 AM
    Wednesday, May 5, 2010 5:28 PM