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