title: Update Database: No DbContext was found in assembly
body: <p>Im trying to create a my tables in my sql database using the code first approach and im getting the 
  "No DbContext was found in assembly 'LibrarySystem'. Ensure that you're using the correct assembly and that the type is neither abstract nor generic." error in the package manager console</p>
  
  <p>I have tried several different solutions for example the one shown in <a href="https://stackoverflow.com/questions/46679202/migration-no-dbcontext-was-found-in-assembly">Migration: No DbContext was found in assembly</a></p>
  
  <p>this is my Context class where im using dbcontext</p>
  
  <pre><code>using System.Collections.Generic;
  using System.Text;
  using IDataInterface;
  using Microsoft.EntityFrameworkCore;
  
  namespace DataAccess
  {
      public class LibraryContext : DbContext
      {
          protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
          {
              optionsBuilder.UseSqlServer("Server = localhost; Database = Library; Trusted_connection = true");
          }
          public DbSet&lt;Book&gt; Books { get; set; }
          public DbSet&lt;Shelf&gt; Shelves { get; set; }
      }
  }
  </code></pre>