'Visual Studio 2022 is not finding codegenerators for scaffolding
I have the same issue as presented in the linked question but with Visual Studio 2022 and dotNet 6.
Scaffolding controller using MVC Controller with views, using Entity Framework fails:
However MVC Controller with read/write actions succeeds.
But afterwards adding view for any of the actions likewise fails:

I have performed all actions suggested in the linked post. It looks like I have the right version:
Tool 'dotnet-aspnet-codegenerator' was reinstalled with the latest stable version (version '6.0.2').
The list of available codegenerators looks to include everything:

Update: works from the command line though.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
