Skip to content

VisualStudioWorkspace - too many WorkspaceChanged by solution opening #48196

Answered by CyrusNajmabadi
AlexNek asked this question in General
Discussion options

You must be logged in to vote

In my opinion I must receive only one "SolutionAdded" event with correct "WorkspaceVersion".
But instead it I received the some sequence from DocumentChanged, ProjectChanged, SolutionChanged events with increased WorkspaceVersion.

Yes. this is by design. First we add the solution, then we add all the projects/documents to it, causing 'changing' notifications to be emitted.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AlexNek
Comment options

@CyrusNajmabadi
Comment options

@AlexNek
Comment options

Answer selected by AlexNek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #48196 on September 30, 2020 17:49.