{"action":"created","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2040","repository_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2040/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2040/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2040/events","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2040","id":222089925,"number":2040,"title":"EF Migrations fail","user":{"login":"1awei1","id":12267706,"avatar_url":"https://avatars1.githubusercontent.com/u/12267706?v=3","gravatar_id":"","url":"https://api.github.com/users/1awei1","html_url":"https://github.com/1awei1","followers_url":"https://api.github.com/users/1awei1/followers","following_url":"https://api.github.com/users/1awei1/following{/other_user}","gists_url":"https://api.github.com/users/1awei1/gists{/gist_id}","starred_url":"https://api.github.com/users/1awei1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1awei1/subscriptions","organizations_url":"https://api.github.com/users/1awei1/orgs","repos_url":"https://api.github.com/users/1awei1/repos","events_url":"https://api.github.com/users/1awei1/events{/privacy}","received_events_url":"https://api.github.com/users/1awei1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-04-17T08:25:51Z","updated_at":"2017-05-04T13:50:39Z","closed_at":"2017-04-19T02:59:33Z","body":"#in vs 2017\r\nstartup project has the following dependencies in the csproj:\r\n\r\n```\r\n<ItemGroup>\r\n    <PackageReference Include=\"Castle.LoggingFacility.MsLogging\" Version=\"2.0.0-preview1\" />\r\n    <PackageReference Include=\"Microsoft.VisualStudio.Web.BrowserLink\" Version=\"1.1.0\" />\r\n    <PackageReference Include=\"Microsoft.Owin.Cors\" Version=\"3.1.0\" />\r\n    <PackageReference Include=\"Owin.Security.AesDataProtectorProvider\" Version=\"1.1.0\" />\r\n    <PackageReference Include=\"Abp.Castle.Log4Net\" Version=\"2.0.0-rc\" />\r\n    <PackageReference Include=\"Microsoft.AspNetCore.Diagnostics\" Version=\"1.1.1\" />\r\n    <PackageReference Include=\"Microsoft.AspNetCore.Mvc\" Version=\"1.1.2\" />\r\n    <PackageReference Include=\"Microsoft.AspNetCore.Server.IISIntegration\" Version=\"1.1.1\" />\r\n    <PackageReference Include=\"Microsoft.AspNetCore.Server.Kestrel\" Version=\"1.1.1\" />\r\n    <PackageReference Include=\"Microsoft.AspNetCore.StaticFiles\" Version=\"1.1.1\" />\r\n    <PackageReference Include=\"Microsoft.Extensions.Logging\" Version=\"1.1.1\" />\r\n    <PackageReference Include=\"Microsoft.Extensions.Options.ConfigurationExtensions\" Version=\"1.1.1\" />\r\n    <PackageReference Include=\"Microsoft.VisualStudio.Web.CodeGeneration.Design\" Version=\"1.1.0\" />\r\n  </ItemGroup>\r\n```\r\n\r\ndatabase project has the following:\r\n```\r\n  <ItemGroup>\r\n    <PackageReference Include=\"Migrator.EF6.Tools\" Version=\"1.1.0\" />\r\n    <PackageReference Include=\"Abp.EntityFramework\" Version=\"2.0.0-rc\" />\r\n    <PackageReference Include=\"Abp.Zero.EntityFramework\" Version=\"2.0.0-rc\" />\r\n  </ItemGroup>\r\n```\r\n\r\n\r\nWhen using  command \"dotnet ef migrations add\" or \"dotnet ef databse update\"\r\nthen throw exception:\r\n```\r\nTarget migration: latest\r\n未锟杰硷拷锟斤拷锟侥硷拷锟斤拷锟斤拷蚣\r\nnewtonsoft.json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed\r\n锟斤拷锟斤拷锟斤拷锟斤拷某一锟斤拷锟斤拷锟斤拷锟筋。锟揭碉拷锟侥筹拷锟斤拷锟藉单锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤 拷貌锟狡ワ拷洹?(锟届常锟斤拷锟斤拷\r\n HRESULT:0x80131040)\r\n```\r\n\r\nsorry for the messy code\r\nIt worked before update to  2.0.0-rc\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/comments/299190832","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2040#issuecomment-299190832","issue_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/2040","id":299190832,"user":{"login":"hikalkan","id":1210527,"avatar_url":"https://avatars2.githubusercontent.com/u/1210527?v=3","gravatar_id":"","url":"https://api.github.com/users/hikalkan","html_url":"https://github.com/hikalkan","followers_url":"https://api.github.com/users/hikalkan/followers","following_url":"https://api.github.com/users/hikalkan/following{/other_user}","gists_url":"https://api.github.com/users/hikalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/hikalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hikalkan/subscriptions","organizations_url":"https://api.github.com/users/hikalkan/orgs","repos_url":"https://api.github.com/users/hikalkan/repos","events_url":"https://api.github.com/users/hikalkan/events{/privacy}","received_events_url":"https://api.github.com/users/hikalkan/received_events","type":"User","site_admin":false},"created_at":"2017-05-04T13:50:39Z","updated_at":"2017-05-04T13:50:39Z","body":"We have the same issue and could not find a solution. As you said, binding does not work.\r\nAsked here: https://github.com/mrahhal/Migrator.EF6/issues/43"}}
{"actor":{"display_login":"hikalkan"}}