title: Can not create classlib (core) using dotnet CLI
body: <p>I used the dotnet CLI command <code>dotnet new classlib -o ProjectName</code> to create a class library and added the EF Core Package using <code>dotnet add package</code> but when I tried to run some <code>dotnet ef</code> commands it threw the following error.</p>
  
  <p><a href="https://i.stack.imgur.com/HcOTx.png" rel="noreferrer">Error Message</a></p>
  
  <p>Later, I realized that <code>dotnet new classlib</code> creates <strong>classlib (.netstandard)</strong> instead of creating <strong>classlib (core)</strong>. I would like to know is there anyway to create <strong>classlib (core)</strong> using dotnet CLI or any alternate for <strong>classlib (core)</strong>.</p>