EnvDTE.SolutionEvents.Opened event not fired for a solution just loaded without open documents - by Carlos J. Quintero

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 730000 Comments
Status Closed Workarounds
Type Bug Repros 5
Opened 3/9/2012 6:30:48 AM
Access Restriction Public


When you open a solution programmatically from an add-in and it has no open documents, the SolutionEvents.Opened event is not fired.

It is fired if the solution was closed with open documents and therefore they are opened again when the solution is loaded.

In VS 2010 the SolutionEvents.Opened event was fired even with no open documents.

This change breaks backward compatibility and add-ins relying on this behavior.
Sign in to post a comment.
Posted by Tom McKearney on 5/26/2012 at 10:43 AM
So, this says "fixed"... where? when?

What version?

I'm seeing the exact same problem here.
Posted by Patrick Smacchia on 3/22/2012 at 11:01 AM
From my experience, I would add to "When you open a solution programatically" AND MANUALLY AS WELL.
In the VS solution manual opening scenario (Start VS11 Beta > choose a solution from the start page > load it), on my side the event is not triggered no matter if some documents were opened or not last time the VS solution was closed.
Posted by MS-Moderator07 [Feedback Moderator] on 3/11/2012 at 9:30 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by MS-Moderator01 on 3/9/2012 at 6:58 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)