{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2806","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2806/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2806/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2806/events","html_url":"https://github.com/aspnet/EntityFramework/issues/2806","id":100017095,"number":2806,"title":"dnx . ef migration add MyFirstMigration, error","user":{"login":"lovemory","id":10230756,"avatar_url":"https://avatars.githubusercontent.com/u/10230756?v=3","gravatar_id":"","url":"https://api.github.com/users/lovemory","html_url":"https://github.com/lovemory","followers_url":"https://api.github.com/users/lovemory/followers","following_url":"https://api.github.com/users/lovemory/following{/other_user}","gists_url":"https://api.github.com/users/lovemory/gists{/gist_id}","starred_url":"https://api.github.com/users/lovemory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovemory/subscriptions","organizations_url":"https://api.github.com/users/lovemory/orgs","repos_url":"https://api.github.com/users/lovemory/repos","events_url":"https://api.github.com/users/lovemory/events{/privacy}","received_events_url":"https://api.github.com/users/lovemory/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-10T09:25:12Z","updated_at":"2015-09-09T18:56:26Z","closed_at":"2015-08-19T18:39:23Z","body":"I Learn EF7 from the url:\r\nhttp://ef.readthedocs.org/en/latest/getting-started/aspnet5.html\r\n\r\nwhen i run the commonad :dnx . ef migration add MyFirstMigration\r\nit output errors,   as below:\r\n\r\n```\r\ndnx : System.InvalidOperationException: Failed to resolve the following dependencies for target framework 'DNX,Version=v4.5.1':\r\n\r\n+ dnx .ef\r\n+ ~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (System.InvalidO...ersion=v4.5.1'::String) [], RemoteException\r\n    + FullyQualifiedErrorId : NativeCommandError\r\n \r\n   EntityFramework.Commands 7.0.0-beta6\r\n   EntityFramework.SqlServer 7.0.0-beta6\r\n   Microsoft.AspNet.Authentication.Cookies 1.0.0-b\r\neta6\r\n   Microsoft.AspNet.Authentication.Facebook 1.0.0-beta6\r\n   Microsoft.AspNet.Authentication.Google 1.0.0-beta6\r\n   Microsoft.AspNet.Authentication.MicrosoftAccount 1.0.0-beta6\r\n   Microsoft.AspNet.Authentication.Twitter 1.0.0-beta6\r\n   Microsoft.AspNet.Diagnostics 1.0.0-beta6\r\n   Microsoft.AspNet.Diagnostics.Entity 7.0.0-beta6\r\n   Microsoft.AspNet.Identity.EntityFramework 3.0.0-beta6\r\n   Microsoft.AspNet.Mvc 6.0.0-beta6\r\n   Microsoft.AspNet.Mvc.TagHelpers 6.0.0-beta6\r\n   Microsoft.AspNet.Server.IIS 1.0.0-beta6\r\n   Microsoft.AspNet.Server.WebListener 1.0.0-beta6\r\n   Microsoft.AspNet.StaticFiles 1.0.0-beta6\r\n   Microsoft.AspNet.Tooling.Razor 1.0.0-beta6\r\n   Microsoft.Framework.Configuration.Abstractions 1.0.0-beta6\r\n   Microsoft.Framework.Configuration.Json 1.0.0-beta6\r\n   Microsoft.Framework.Configuration.UserSecrets 1.0.0-beta6\r\n   Microsoft.Framework.Logging 1.0.0-beta6\r\n   Microsoft.Framework.Logging.Console 1.0.0-beta6\r\n   Microsoft.VisualStudio.Web.BrowserLink.Loader 14.0.0-beta6\r\n\r\nC:\\Users\\Administrator\\Documents\\Visual Studio 2015\\Projects\\WebApplication3\\src\\WebApplication3\\project.lock.json(1,0): error: The expected lock file doesn't exist. Please run \"dnu restore\" to gen\r\nerate a new lock file.\r\nCurrent runtime target framework: 'DNX,Version=v4.5.1 (dnx451)'\r\n Version:      1.0.0-beta7-12302\r\n Type:         CLR\r\n Architecture: x64\r\n OS Name:      Windows\r\n OS Version:   6.1.7601.65536\r\n\r\n   on Microsoft.Dnx.Runtime.DefaultHost.GetEntryPoint(String applicationName)\r\n   on Microsoft.Dnx.ApplicationHost.Program.ExecuteMain(DefaultHost host, String applicationName, String[] args)\r\n   on  Microsoft.Dnx.ApplicationHost.Program.Main(String[] args)\r\n\r\n\r\n   on System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   on Microsoft.Dnx.Runtime.Common.EntryPointExecutor.Execute(Assembly assembly, String[] args, IServiceProvider serviceProvider)\r\n   on Microsoft.Dnx.Host.Bootstrapper.RunAsync(List`1 args, IRuntimeEnvironment env, FrameworkName targetFramework)\r\n   on Microsoft.Dnx.Host.RuntimeBootstrapper.ExecuteAsync(String[] args, FrameworkName targetFramework)\r\n   on Microsoft.Dnx.Host.RuntimeBootstrapper.Execute(String[] args, FrameworkName targetFramework)\r\n\r\nPM> \r\n```"},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/comments/139007999","html_url":"https://github.com/aspnet/EntityFramework/issues/2806#issuecomment-139007999","issue_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2806","id":139007999,"user":{"login":"Exerlol","id":10726640,"avatar_url":"https://avatars.githubusercontent.com/u/10726640?v=3","gravatar_id":"","url":"https://api.github.com/users/Exerlol","html_url":"https://github.com/Exerlol","followers_url":"https://api.github.com/users/Exerlol/followers","following_url":"https://api.github.com/users/Exerlol/following{/other_user}","gists_url":"https://api.github.com/users/Exerlol/gists{/gist_id}","starred_url":"https://api.github.com/users/Exerlol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exerlol/subscriptions","organizations_url":"https://api.github.com/users/Exerlol/orgs","repos_url":"https://api.github.com/users/Exerlol/repos","events_url":"https://api.github.com/users/Exerlol/events{/privacy}","received_events_url":"https://api.github.com/users/Exerlol/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T18:56:26Z","updated_at":"2015-09-09T18:56:26Z","body":"1 more here! I'm having the exact same problem....Any ideas?"}}