Extension doesn't work anymore after the latest updates: "Value cannot be null. Parameter name: provider"
See original GitHub issueAfter the latest updates, I’m not able anymore to open the extension If I click on “Reverse Engineer” or simply on “About” I get the following error on all my projects where I have successfully used EF Core Power Tools until a few days ago:
System.ArgumentNullException: Value cannot be null.
Parameter name: provider
at T Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService<T>(IServiceProvider provider)
at TView EFCorePowerTools.EFCorePowerToolsPackage.GetView<TView>()
at void EFCorePowerTools.Handlers.AboutHandler.ShowDialog()
I’ve tried to remove and reinstall the extension but I still have the same issue.
Provide steps to reproduce
just click on about or reverse engineer…
Provide technical details
-
EF Core version in use: EF Core 6.4.4
-
Is Handlebars used: no
-
Is T4 used: no
-
Is .dacpac used: no
-
EF Core Power Tools version: 2.5.1201
-
Database engine: SQL Server 2019
-
Visual Studio version: Visual Studio 2022
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Value cannot be null. (Parameter 'provider') · Issue #2350
I'm not in EF but getting this exact error and for the exact reason - I was forced to upgrade dependencies for a...
Read more >Value cannot be null. Parameter name: format visual studio ...
In my case, I start VS2022 and from the "Open Recent" panel Create a New Project (Windows Forms App using .NET 6.0). Project...
Read more >Azure function: Value cannot be null. Parameter name
It used to work until I updated some NuGet packages (specifically, Newtonsoft JSON 11.0. · It works fine when I run the function...
Read more >TFS Shell Extension: "Value cannot be null. Parameter name
I believe the problem is with older workspaces created in earlier versions of VS.
Read more >Known issue after update to 11.10.2 - value cannot be null ...
Identify and fix a known issue when upgrading to Platform Server version 11.10.2 or higher. The error: Value cannot be null.Parameter name: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MarcoGiorgi try to update your very old VS install
Thanks for the kind words.
I would be very grateful for a rating or review on [Visual Studio Marketplace](https://marketplace.visualstudio.com/items? itemName=ErikEJ.EFCorePowerTools&ssr=false#review-details)