title: Scaffolding Layout file for Identity in .Net 6.0
body: <p>When scaffolding Identity Pages for a .Net 6.0 project the Layout page does not get scaffolded.
  I tried scaffolding via UI in Visual Studio, and via the command line:</p>
  <pre><code>dotnet aspnet-codegenerator identity --layout &quot;/Areas/Identity/Pages/Shared/_Layout.cshtml&quot; --force
  </code></pre>
  <p>Both don't generate a Layout file.
  How can I scaffold the layout file?</p>