Is there a way to detect whether or not there is an opened solution in VS 2012 from a vsix extension?
Asked Answered
E

1

2

I would like to disable parts of my extension's tool window if it is opened without a solution loaded, and need a way to detect this.

I know about the DTE events that are fired when a solution is opened/closed, is there perhaps a similar event for when the IDE itself has finished loading?

Explicate answered 28/3, 2013 at 15:23 Comment(0)
E
5

I found my answer while writing the question, but I thought I may as well still submit in case anyone else is looking for this in future with similar search terms to me.

EnvDTE.Solution.IsOpen

Explicate answered 28/3, 2013 at 15:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.