skip to Main Content

I just updated my visual studio so I could create a new project in .net 8, but now I’m getting the following error in my existing boilerplate 8.1.0 project:

‘Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionProvider_26c5b40a-354d-4734-90cd-1b6d59e8e3d1’ is waiting for the following dependencies:

  • Service ‘Microsoft.Extensions.DependencyInjection.IServiceProviderIsService’ which was not registered.

No changes were made to the project and it ran with no issue prior to updating visual studio

  1. Delete .vs folder
  2. Clean and rebuild solution

2

Answers


  1. I found myself in the same situation as you and the only solution I found was to rollback the VS version from 17.9.0 to 17.8.6 (https://devblogs.microsoft.com/visualstudio/introducing-visual-studio-rollback/)

    Login or Signup to reply.
  2. Downgrading VS from 17.9.X to 17.8.X worked for me as well.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search