title: EF Core 1.1-preview1 Add-Migration error
body: <p>I am trying to update my net core project to 1.1-preview as well as EF core to the same version. Restoring the project.json works fine, but once I try to use commands like Add-Migration it fails with this error:</p>
  
  <pre><code>Commands could not invoke on target framework 'netcoreapp1.1'.
  Commands on ASP.NET Core and .NET Core projects currently only support .NET Core ('netcoreapp1.0') or .NET Framework (e.g. 'net451') target frameworks.
  </code></pre>
  
  <p>project.json of small console App to test</p>
  
  <pre><code>{
    "version": "1.0.0-*",
    "buildOptions": {
      "emitEntryPoint": true
    },
  
    "dependencies": {
      "Microsoft.NETCore.App": {
        "type": "platform",
        "version": "1.1.0-preview1-*"
      },
      "Microsoft.EntityFrameworkCore": "1.1.0-preview1-final",
      "Microsoft.EntityFrameworkCore.Design": "1.1.0-preview1-final"
    },
  
    "tools": {
      "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview3-final"
    },
  
    "frameworks": {
      "netcoreapp1.1": {
        "imports": "dnxcore50"
      }
    }
  }
  </code></pre>
  
  <p>I am using Visual Studio 2015. Am I missing something or is EF/.net Core 1.1 not supported by the Visual Studio tools right now?</p>
  
  <p>On EF/.net 1.0 it already does not recognize the Add-Migration or dotnet-ef commands, so to get them to work I have to initialize the EF tools manually as decribed here: <a href="https://stackoverflow.com/a/37876143/3506081">https://stackoverflow.com/a/37876143/3506081</a></p>
  
  <p>I also tried using the Microsoft.EntityFrameworkCore.Tools.DotNet as suggested in the <a href="https://blogs.msdn.microsoft.com/dotnet/2016/10/25/announcing-entity-framework-core-1-1-preview-1/" rel="nofollow noreferrer">release post</a> but that has same issue that it does not recognize dotnet-ef.</p>
  
  <p>Anyone got similar issues?</p>