ShapeAppAdvancedCSharp sample Add-in Debug

Latest post 11-19-2006 3:57 PM by Roger. 2 replies.
  • 11-14-2006 8:47 PM

    • Roger
    • Top 25 Contributor
    • Joined on 11-09-2006
    • Posts 11

    ShapeAppAdvancedCSharp sample Add-in Debug

    I tried the ShapeAppAdvancedCSharp sample with its add-in IDE debug experience, the default add-in macro project, which is loaded by the coding in the Microsoft.VisualStudio.Tools.Applications.Samples.ShapeApp.AIMExtension.ShowIde() method, can bebugged in the same host application, which is the expected behaviour.

    However, when I created a new add-in project or open an existing one using the IDE menu and debugged it, a new instance of the host application is launched. So how can I debug the new project or the opened project without starting a new instance of the ShapeAppAdvancedCSharp host? Any sample code around regarding this topic?

    My feeling is that it needs to, somehow, hook some events like ProjectOpened/ProjectCreated and apply the same operation as that have done with the default project to the new/opened project.

    Roger

  • 11-17-2006 3:59 PM In reply to

    • Gary
    • Top 10 Contributor
    • Joined on 07-13-2006
    • Posts 318

    Re: ShapeAppAdvancedCSharp sample Add-in Debug

    H Roger,

     

    >>However, when I created a new add-in project or open an existing one using the IDE menu and debugged it, a new instance of the host application >>is launched.

    I have confirmed this and will ask the VSTA team to improve this sample for the next version of the VSTA SDK.

    Your intuition is also correct. In the meantime, I will provide you a sample that implements addin project seamless debugging along with the macro project seamless debugging.

     Regards,

    Gary

  • 11-19-2006 3:57 PM In reply to

    • Roger
    • Top 25 Contributor
    • Joined on 11-09-2006
    • Posts 11

    Re: ShapeAppAdvancedCSharp sample Add-in Debug

    Thanks Gary. A sample on this topic would help us a lot.  :)

     

    Roger

Page 1 of 1 (3 items) | RSS
Copyright Summit Software Company, 2008. All rights reserved.