Repository navigation
Replies: 3 comments 1 reply
|
Most likely your package is loaded after the solution has been loaded. |
0 replies
|
Ok. Thanks I will try to find the video. |
0 replies
|
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. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions