title: Error creating Controller using .NET cli codegenerator in ASP.NET MVC project
body: <p>When I try to create controller using .NET cli codegenerator in my ASP.NET web mvc project:</p>
  <pre><code>dotnet aspnet-codegenerator --project . controller  -name &quot;Controllers\TempController&quot;
  </code></pre>
  <p>getting this error:</p>
  <p><a href="https://i.stack.imgur.com/OOmn2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OOmn2.png" alt="enter image description here" /></a></p>
  <p>(Controller name contains '\').</p>
  <p>So where is my mistake?</p>