Replies: 3 comments 1 reply
-
Most likely your package is loaded after the solution has been loaded. |
Beta Was this translation helpful? Give feedback.
-
Ok. Thanks I will try to find the video. |
Beta Was this translation helpful? Give feedback.
-
Using the event is the correct way to detect when a solution opens after your extension has loaded. Here's an example of how you can check if a solution is already open when you're extension loads. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I would like to detect when a solution is opened to activate or not some features.
In the Package class I do this.
protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress progress)
{
this.AddService(typeof(IOutputWnd), CreateOutputWindowAsync, true);
this.AddService(typeof(IContentService), CreateContentServiceAsync, true);
But the event doesn't seem to be fired.
Any help how to achieve this?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions