{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/10298","repository_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore","labels_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/10298/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/10298/comments","events_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/10298/events","html_url":"https://github.com/aspnet/EntityFrameworkCore/issues/10298","id":274186077,"number":10298,"title":"Problem with dotnet cli ef tools after upgrading to vs 2017 15.4.4 and november .net core rollup ","user":{"login":"spnm","id":5745174,"avatar_url":"https://avatars0.githubusercontent.com/u/5745174?v=4","gravatar_id":"","url":"https://api.github.com/users/spnm","html_url":"https://github.com/spnm","followers_url":"https://api.github.com/users/spnm/followers","following_url":"https://api.github.com/users/spnm/following{/other_user}","gists_url":"https://api.github.com/users/spnm/gists{/gist_id}","starred_url":"https://api.github.com/users/spnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spnm/subscriptions","organizations_url":"https://api.github.com/users/spnm/orgs","repos_url":"https://api.github.com/users/spnm/repos","events_url":"https://api.github.com/users/spnm/events{/privacy}","received_events_url":"https://api.github.com/users/spnm/received_events","type":"User","site_admin":false},"labels":[{"id":421529609,"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/labels/patch-proposed","name":"patch-proposed","color":"deb850","default":false},{"id":76481852,"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/labels/type-bug","name":"type-bug","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":{"login":"bricelam","id":1226749,"avatar_url":"https://avatars2.githubusercontent.com/u/1226749?v=4","gravatar_id":"","url":"https://api.github.com/users/bricelam","html_url":"https://github.com/bricelam","followers_url":"https://api.github.com/users/bricelam/followers","following_url":"https://api.github.com/users/bricelam/following{/other_user}","gists_url":"https://api.github.com/users/bricelam/gists{/gist_id}","starred_url":"https://api.github.com/users/bricelam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricelam/subscriptions","organizations_url":"https://api.github.com/users/bricelam/orgs","repos_url":"https://api.github.com/users/bricelam/repos","events_url":"https://api.github.com/users/bricelam/events{/privacy}","received_events_url":"https://api.github.com/users/bricelam/received_events","type":"User","site_admin":false},"assignees":[{"login":"bricelam","id":1226749,"avatar_url":"https://avatars2.githubusercontent.com/u/1226749?v=4","gravatar_id":"","url":"https://api.github.com/users/bricelam","html_url":"https://github.com/bricelam","followers_url":"https://api.github.com/users/bricelam/followers","following_url":"https://api.github.com/users/bricelam/following{/other_user}","gists_url":"https://api.github.com/users/bricelam/gists{/gist_id}","starred_url":"https://api.github.com/users/bricelam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricelam/subscriptions","organizations_url":"https://api.github.com/users/bricelam/orgs","repos_url":"https://api.github.com/users/bricelam/repos","events_url":"https://api.github.com/users/bricelam/events{/privacy}","received_events_url":"https://api.github.com/users/bricelam/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2017-11-15T14:58:38Z","updated_at":"2017-11-17T11:50:18Z","closed_at":null,"author_association":"NONE","body":"Not sure if its an EFCore issue or cli\r\n\r\n#  Steps to reproduce\r\nUsing Visual Studio Enterprise 2017 (v 15.4.4)\r\n# Add migration\r\ndotnet ef migrations add [MigrationName]\r\n# Expected behavior\r\nMigration created\r\n\r\n# Actual behavior\r\nError message :\r\nThe specified framework version '2.0' could not be parsed\r\nThe specified framework 'Microsoft.NETCore.App', version '2.0' was not found.\r\nCheck application dependencies and target a framework version installed at:\r\n\\\\\r\nAlternatively, install the framework version '2.0'.\r\n\r\nMy project is a console library and the content of .csproj file is below:\r\n``` csproj\r\n<Project Sdk=\"Microsoft.NET.Sdk\">\r\n\r\n  <PropertyGroup>\r\n    <TargetFramework>netcoreapp2.0</TargetFramework>\r\n  </PropertyGroup>\r\n  \r\n  <ItemGroup>\r\n    <PackageReference Include=\"System.Reflection.Metadata\" Version=\"1.5.0\" />\r\n    <PackageReference Include=\"Microsoft.Extensions.Configuration\" Version=\"2.0.0\" />\r\n    <PackageReference Include=\"Microsoft.EntityFrameworkCore.SqlServer\" Version=\"2.0.1\" />\r\n    <PackageReference Include=\"Microsoft.EntityFrameworkCore.Tools\" Version=\"2.0.1\" PrivateAssets=\"All\" />\r\n  </ItemGroup>\r\n  \r\n  <ItemGroup>\r\n    <DotNetCliToolReference Include=\"Microsoft.EntityFrameworkCore.Tools.DotNet\" Version=\"2.0.1\" />\r\n  </ItemGroup>\r\n</Project>\r\n```\r\n\r\nSo i tried to use global.json in the root of my project  : \r\n```\r\n{\r\n  \"sdk\": {\r\n    \"version\": \"2.0.3\"\r\n  }\r\n}\r\n\r\n```\r\n\r\nand the error was the same.\r\nBut when I changed global.json content to this :\r\n\r\n```\r\n{\r\n  \"sdk\": {\r\n    \"version\": \"2.0.2\"\r\n  }\r\n}\r\n\r\n```\r\nIt worked.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/comments/345223756","html_url":"https://github.com/aspnet/EntityFrameworkCore/issues/10298#issuecomment-345223756","issue_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/10298","id":345223756,"user":{"login":"lccarvalho","id":2293409,"avatar_url":"https://avatars1.githubusercontent.com/u/2293409?v=4","gravatar_id":"","url":"https://api.github.com/users/lccarvalho","html_url":"https://github.com/lccarvalho","followers_url":"https://api.github.com/users/lccarvalho/followers","following_url":"https://api.github.com/users/lccarvalho/following{/other_user}","gists_url":"https://api.github.com/users/lccarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/lccarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lccarvalho/subscriptions","organizations_url":"https://api.github.com/users/lccarvalho/orgs","repos_url":"https://api.github.com/users/lccarvalho/repos","events_url":"https://api.github.com/users/lccarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/lccarvalho/received_events","type":"User","site_admin":false},"created_at":"2017-11-17T11:50:18Z","updated_at":"2017-11-17T11:50:18Z","author_association":"NONE","body":"Neither for the 'Scaffold-DbContext' problem in a netcoreapp2.0 project"}}
{"actor":{"display_login":"lccarvalho"}}