You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's as easy as doing exactly what your current Package.Initialize method does, but in the Package.InitializeAsync method, make the first line await JoinableTaskFactory.SwitchToMainThreadAsync();
The text was updated successfully, but these errors were encountered:
For performance reasons all extensions targeting VS2015+ should convert the Package class to AsyncPackage. See more here https://docs.microsoft.com/en-us/visualstudio/extensibility/how-to-use-asyncpackage-to-load-vspackages-in-the-background
It's as easy as doing exactly what your current
Package.Initialize
method does, but in thePackage.InitializeAsync
method, make the first lineawait JoinableTaskFactory.SwitchToMainThreadAsync();
The text was updated successfully, but these errors were encountered: