Hi,
I am getting this following error for while creating "add-migration InitialCreate" :
Unhandled Exception: System.MissingMethodException: Entry point not found in assembly 'Microsoft.EntityFrameworkCore.Design, Version=1.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
This is my project.json file :
{"dependencies": {"Microsoft.AspNetCore.Diagnostics": "1.0.0","Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.1.0-preview1-final","Microsoft.AspNetCore.Mvc": "1.0.1","Microsoft.AspNetCore.Mvc.TagHelpers": "1.1.1","Microsoft.AspNetCore.Mvc.ViewFeatures": "1.1.1","Microsoft.AspNetCore.Server.IISIntegration": "1.0.0","Microsoft.AspNetCore.Server.Kestrel": "1.0.1","Microsoft.AspNetCore.StaticFiles": "1.1.0","Microsoft.EntityFrameworkCore.Design": {"version": "1.1.0-preview1-final","type": "build" },"Microsoft.EntityFrameworkCore.SqlServer": "1.0.1","Microsoft.Extensions.Configuration.FileExtensions": "1.0.0","Microsoft.Extensions.Configuration.Json": "1.0.0","Microsoft.Extensions.Logging.Console": "1.0.0","Microsoft.NETCore.App": {"version": "1.0.1","type": "platform" } },"tools": {"Microsoft.AspNetCore.Server.IISIntegration.Tools": {"version": "1.0.0-preview2-final","imports": ["portable-net45+win8+dnxcore50" ] }, "Microsoft.EntityFrameworkCore.Tools": {"version": "1.0.0-preview2-final","imports": ["portable-net45+win8+dnxcore50","portable-net45+win8" ] } },"frameworks": {"netcoreapp1.0": {"imports": ["dotnet5.6","portable-net45+win8" ] } },"buildOptions": {"emitEntryPoint": true,"preserveCompilationContext": true },"runtimeOptions": {"configProperties": {"System.GC.Server": true } },"publishOptions": {"include": ["wwwroot","web.config" ] },"scripts": {"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ] } }
NB : I tried to change the version of framework tool but it's again create other errors like"dependency conflict".