Skip to content

Create solution on the main thread in integration tests#60366

Merged
JoeRobich merged 3 commits intodotnet:mainfrom
JoeRobich:main-thread
Mar 24, 2022
Merged

Create solution on the main thread in integration tests#60366
JoeRobich merged 3 commits intodotnet:mainfrom
JoeRobich:main-thread

Conversation

@JoeRobich
Copy link
Member

@JoeRobich JoeRobich commented Mar 24, 2022

Includes changes from #58873

Also skip failing integration tests - #60364

Comment on lines +149 to +153
InvokeOnUIThread(cancellationToken =>
{
ErrorHandler.ThrowOnFailure(solution.CreateSolution(solutionPath, solutionFileName, (uint)__VSCREATESOLUTIONFLAGS.CSF_SILENT));
ErrorHandler.ThrowOnFailure(solution.SaveSolutionElement((uint)__VSSLNSAVEOPTIONS.SLNSAVEOPT_ForceSave, null, 0));
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we understand why this worked before?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not. Where is the right place to start in investigating that?

@JoeRobich JoeRobich merged commit 373411a into dotnet:main Mar 24, 2022
@ghost ghost added this to the Next milestone Mar 24, 2022
@allisonchou allisonchou modified the milestones: Next, 17.2.P3 Mar 28, 2022
@JoeRobich JoeRobich deleted the main-thread branch March 14, 2025 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants