question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extension doesn't work anymore after the latest updates: "Value cannot be null. Parameter name: provider"

See original GitHub issue

After 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:closed
  • Created 10 months ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ErikEJcommented, Nov 9, 2022

@MarcoGiorgi try to update your very old VS install

0reactions
ErikEJcommented, Nov 9, 2022

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)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found