ErikEJ / EFCorePowerTools

Entity Framework Core Power Tools - reverse engineering, migrations and model visualization in Visual Studio & CLI
MIT License
2.16k stars 295 forks source link

EF Core Not loading #1869

Closed stevedrew41075 closed 1 year ago

stevedrew41075 commented 1 year ago

SetSite failed for package [EFCorePowerToolsPackage]Source: 'EFCorePowerTools' Description: Method not found: 'Microsoft.VisualStudio.Threading.JoinableTaskFactory Microsoft.VisualStudio.Shell.ThreadHelper.get_JoinableTaskFactory()'. System.MissingMethodException: Method not found: 'Microsoft.VisualStudio.Threading.JoinableTaskFactory Microsoft.VisualStudio.Shell.ThreadHelper.get_JoinableTaskFactory()'. at EFCorePowerTools.EFCorePowerToolsPackage.d11.MoveNext() at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) at EFCorePowerTools.EFCorePowerToolsPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress) at Microsoft.VisualStudio.Shell.AsyncPackage.<>cDisplayClass21_0.<b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e) at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)

Provide steps to reproduce

I added xUnit Dependency Injection on 7/11/2023 and rebooted VS2022 after running for many days and the above error popped up. EF Core shows a last update on 7/10/2023 but I did not use it in the last few days so I an not certain when the error started. I uninstalled EF Core and reinstalled an the error did not go away. Closed and reopened VS2022 Community many times.

Provide technical details

Any help would be appreciated!

stevedrew41075 commented 1 year ago

Nevermind, it resolved by applying VS2022 updates.

stevedrew41075 commented 1 year ago

Closed

ErikEJ commented 1 year ago

@stevedrew41075 Someone else reported this, would be nice to know which VS version you were using before the update

stevedrew41075 commented 1 year ago

Sorry, I didn’t record it.

From: Erik Ejlskov Jensen @.> Sent: Wednesday, July 12, 2023 1:40 AM To: ErikEJ/EFCorePowerTools @.> Cc: Steve Drew @.>; Mention @.> Subject: Re: [ErikEJ/EFCorePowerTools] EF Core Not loading (Issue #1869)

@stevedrew41075 https://github.com/stevedrew41075 Someone else reported this, would be nice to know which VS version you were using before the update

— Reply to this email directly, view it on GitHub https://github.com/ErikEJ/EFCorePowerTools/issues/1869#issuecomment-1631880821 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZ3OVB24S7BGAMO3B465BTXPY2C5ANCNFSM6AAAAAA2GUF3VQ . You are receiving this because you were mentioned.Message ID: @.***>