title: Code-first migration in Entity Framework Core error
body: <p>I am a .NET student. So please be patient with me. Apart from adding this question here I search web tirelessly to find a solution to my problem. Thank you for understanding.</p>
  
  <p>I am trying to migrate a code-first project with Entity Framework Core just so I can familiarize my self with all the commands and procedures.</p>
  
  <p>The problem I am getting is when a try to migrate. I am writing the line </p>
  
  <pre><code>add-migration Initial-Migration -context BlogContext
  </code></pre>
  
  <p>in the Package Manager Console. The error I am getting is this one:</p>
  
  <p><a href="https://i.stack.imgur.com/OwgUA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OwgUA.png" alt="Error message"></a></p>
  
  <p>These are my dependencies:</p>
  
  <pre><code>{
    "dependencies": {
      "BundlerMinifier.Core": "2.2.306",
      "EntityFramework.Core": "7.0.0-rc1-final",
      "Microsoft.ApplicationInsights.AspNetCore": "1.0.2",
      "Microsoft.AspNetCore.Diagnostics": "1.1.0",
      "Microsoft.AspNetCore.Mvc": "1.1.0",
      "Microsoft.AspNetCore.Razor.Tools": "1.1.0-preview4-final",
      "Microsoft.AspNetCore.Routing": "1.1.0",
      "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
      "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.1.0-preview4-final",
      "Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
      "Microsoft.AspNetCore.StaticFiles": "1.1.0",
      "Microsoft.EntityFrameworkCore": "1.1.0",
      "Microsoft.EntityFrameworkCore.Design": "1.1.0",
      "Microsoft.EntityFrameworkCore.SqlServer": "1.1.0",
      "Microsoft.EntityFrameworkCore.Tools": "1.1.0-preview4-final",
      "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
      "Microsoft.Extensions.Configuration.Json": "1.1.0",
      "Microsoft.Extensions.Logging": "1.1.0",
      "Microsoft.Extensions.Logging.Console": "1.1.0",
      "Microsoft.Extensions.Logging.Debug": "1.1.0",
      "Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
      "Microsoft.NETCore.App": {
        "version": "1.1.0",
        "type": "platform"
      },
      "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.1.0"
    },
  
    "tools": {
      "Microsoft.EntityFrameworkCore.Tools.DotNet": "1.1.0-preview4-final",
      "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.1.0-preview4-final",
      "Microsoft.AspNetCore.Razor.Tools": "1.1.0-preview4-final"
    },
  </code></pre>
  
  <p>Tell me if there is anything more you would like to see. I am grateful for all the help I get.</p>
  
  <p>EDIT:</p>
  
  <p>My BlogContext:
  <a href="https://i.stack.imgur.com/F0Hr3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F0Hr3.png" alt="BlogContext"></a></p>
  
  <p>New error from VS Package manager Console:</p>
  
  <p><a href="https://i.stack.imgur.com/UakLg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UakLg.png" alt="enter image description here"></a></p>