{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13804","repository_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore","labels_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13804/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13804/comments","events_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13804/events","html_url":"https://github.com/aspnet/EntityFrameworkCore/pull/13804","id":375270922,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NzU2MDYw","number":13804,"title":"Add support for SQL Server 2017 graph processing","user":{"login":"WiredUK","id":7810709,"node_id":"MDQ6VXNlcjc4MTA3MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/7810709?v=4","gravatar_id":"","url":"https://api.github.com/users/WiredUK","html_url":"https://github.com/WiredUK","followers_url":"https://api.github.com/users/WiredUK/followers","following_url":"https://api.github.com/users/WiredUK/following{/other_user}","gists_url":"https://api.github.com/users/WiredUK/gists{/gist_id}","starred_url":"https://api.github.com/users/WiredUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WiredUK/subscriptions","organizations_url":"https://api.github.com/users/WiredUK/orgs","repos_url":"https://api.github.com/users/WiredUK/repos","events_url":"https://api.github.com/users/WiredUK/events{/privacy}","received_events_url":"https://api.github.com/users/WiredUK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2018-10-30T00:30:22Z","updated_at":"2018-12-26T00:39:48Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/pulls/13804","html_url":"https://github.com/aspnet/EntityFrameworkCore/pull/13804","diff_url":"https://github.com/aspnet/EntityFrameworkCore/pull/13804.diff","patch_url":"https://github.com/aspnet/EntityFrameworkCore/pull/13804.patch"},"body":"This PR relates to #8527. I wanted to submit this PR as soon as possible as it's quite large (for me at least!) and wanted to make sure I was on the right track.\r\n\r\nIt could possible do with some more tests but I'd like your guidance before continuing."},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/comments/449881778","html_url":"https://github.com/aspnet/EntityFrameworkCore/pull/13804#issuecomment-449881778","issue_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/13804","id":449881778,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTg4MTc3OA==","user":{"login":"jdeprato","id":5390592,"node_id":"MDQ6VXNlcjUzOTA1OTI=","avatar_url":"https://avatars2.githubusercontent.com/u/5390592?v=4","gravatar_id":"","url":"https://api.github.com/users/jdeprato","html_url":"https://github.com/jdeprato","followers_url":"https://api.github.com/users/jdeprato/followers","following_url":"https://api.github.com/users/jdeprato/following{/other_user}","gists_url":"https://api.github.com/users/jdeprato/gists{/gist_id}","starred_url":"https://api.github.com/users/jdeprato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdeprato/subscriptions","organizations_url":"https://api.github.com/users/jdeprato/orgs","repos_url":"https://api.github.com/users/jdeprato/repos","events_url":"https://api.github.com/users/jdeprato/events{/privacy}","received_events_url":"https://api.github.com/users/jdeprato/received_events","type":"User","site_admin":false},"created_at":"2018-12-26T00:39:48Z","updated_at":"2018-12-26T00:39:48Z","author_association":"NONE","body":"@WiredUK Here is the error message I received and that's why I installed the preview version and that allowed the scaffolding command to work finally. The first time running the command returns the error and the second time running the command completed successfully after installing the preview version:\r\n\r\n``` \r\nC:\\..\\..\\..\\..\\EFCore\\src\\TestConsoleApp>dotnet ef dbcontext scaffold \"<my connection string>\" Microsoft.EntityFrameworkCore.SqlServer -o ScaffoldedContext\r\nIt was not possible to find any compatible framework version\r\nThe specified framework 'Microsoft.NETCore.App', version '2.2.0-preview3-27001-02' was not found.\r\n  - Check application dependencies and target a framework version installed at:\r\n      C:\\Program Files\\dotnet\\\r\n  - Installing .NET Core prerequisites might help resolve this problem:\r\n      http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409\r\n  - The .NET Core framework and SDK can be installed from:\r\n      https://aka.ms/dotnet-download\r\n  - The following versions are installed:\r\n      1.0.5 at [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n      1.1.2 at [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n      2.0.0 at [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n      2.1.6 at [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n      2.2.0 at [C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App]\r\n\r\nC:\\..\\..\\..\\..\\EFCore\\src\\TestConsoleApp>dotnet ef dbcontext scaffold \"<my connection string>\" Microsoft.EntityFrameworkCore.SqlServer -o ScaffoldedContext\r\n\r\n```\r\nI did search through all of the projects and I didn't find any references to the preview version so I don't really understand why it was complaining about not having it. To force a specific version as for as I know you have set the global.json file and override the live version with the forced preview version. You can see in the error I had 2.2.0 installed, but in fact I had 2.2.101 installed (I'm going to guess it just generically refers to it instead of referring to the minor version). I've uninstalled the preview version and then received the same error message you see above. The reason I made the assumption that .NET Core 2.2.100 was a preview is based on what I saw in the in \"programs and features\" on my machine. I am posting a screen shot so you can see what's installed and when it was installed. You can see I had 2.2.101 installed before installing 2.2.100 preview 3 (which shows todays date now because I uninstalled and reinstalled it to test to make sure I could reproduce the error) and like I said I couldn't get it working without the preview version.\r\n\r\n![image](https://user-images.githubusercontent.com/5390592/50427614-0aff1680-087b-11e9-977d-9146084d7755.png)\r\n\r\n"}}
{"actor":{"display_login":"jdeprato"}}