title: How to setup AutoMapper in ASP.Net Core 6
body: <p>How to configure AutoMapper in ASP.Net Core 6</p>
  <p>I have a project which is written in .Net 3.1 so we had Startup.cs class.</p>
  <p>I am migrating it to .net core 6</p>
  <p>now when I put the following configuration in my .Net 6 Program.cs</p>
  <pre><code>             builder.Services.AddAutoMapper(typeof(Startup));
  </code></pre>
  <p>I get error the type or namespace Startup could not be found</p>
  <p>Any suggestions ?, how can I fix it or configure it in .net 6</p>