I'd like to use SQLite with Entity Framework Core. I'm following this official tutorial:
It says to modify the project.json like this:
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable",
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.EntityFrameworkCore.Sqlite": "1.1.0",
"Microsoft.EntityFrameworkCore.Design": {
"version": "1.1.0",
"type": "build"
}
},
"frameworks": {
"netcoreapp1.1": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.1.0"
}
},
"imports": "dnxcore50"
}
},
"tools": {
"Microsoft.EntityFrameworkCore.Tools.DotNet": "1.1.0-preview4"
}
}
I have installed the VS 2017 RC and Net Core now uses the csproj file instead of project.json.
I modified my csproj to Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version= "1.1.0-preview4-final"
but when I try the command dotnet ef migrations add MyFirstMigration
I get the following error:
"no executable found matching command "dotnet-ef""
How can I fix this with the new csproj?