title: Visual Studio 2022 is not finding codegenerators for scaffolding
body: <p>Rel: <a href="https://stackoverflow.com/questions/63584060/aspnet-codegenerator-no-code-generators-available-even-after-adding-microsoft">aspnet-codegenerator: No code generators available, Even after adding Microsoft.VisualStudio.Web.CodeGeneration.Design</a></p>
  <p>I have the same issue as presented in the linked question but with Visual Studio 2022 and dotNet 6.
  Scaffolding controller using <em>MVC Controller with views, using Entity Framework</em> fails:
  <a href="https://i.stack.imgur.com/SUhq3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SUhq3.png" alt="enter image description here" /></a>
  However <em>MVC Controller with read/write actions</em> succeeds.
  But afterwards adding <code>view</code> for any of the actions likewise fails:
  <a href="https://i.stack.imgur.com/YRvJS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YRvJS.png" alt="enter image description here" /></a></p>
  <p>I have performed all actions suggested in the linked post. It looks like I have the right version:</p>
  <p><code>Tool 'dotnet-aspnet-codegenerator' was reinstalled with the latest stable version (version '6.0.2').</code></p>
  <p>The list of available codegenerators looks to include everything:
  <a href="https://i.stack.imgur.com/AL4jU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AL4jU.png" alt="enter image description here" /></a></p>
  <p><strong>Update:</strong> works from the command line though.</p>