{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/7027","repository_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore","labels_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/7027/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/7027/comments","events_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/7027/events","html_url":"https://github.com/aspnet/EntityFrameworkCore/issues/7027","id":189694604,"node_id":"MDU6SXNzdWUxODk2OTQ2MDQ=","number":7027,"title":"Unable to find provider assembly with name Microsoft.EntityFrameworkCore.SqlServer. Ensure the specified name is correct and is referenced by the project.","user":{"login":"koushik984","id":13251960,"node_id":"MDQ6VXNlcjEzMjUxOTYw","avatar_url":"https://avatars0.githubusercontent.com/u/13251960?v=4","gravatar_id":"","url":"https://api.github.com/users/koushik984","html_url":"https://github.com/koushik984","followers_url":"https://api.github.com/users/koushik984/followers","following_url":"https://api.github.com/users/koushik984/following{/other_user}","gists_url":"https://api.github.com/users/koushik984/gists{/gist_id}","starred_url":"https://api.github.com/users/koushik984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koushik984/subscriptions","organizations_url":"https://api.github.com/users/koushik984/orgs","repos_url":"https://api.github.com/users/koushik984/repos","events_url":"https://api.github.com/users/koushik984/events{/privacy}","received_events_url":"https://api.github.com/users/koushik984/received_events","type":"User","site_admin":false},"labels":[{"id":403965346,"node_id":"MDU6TGFiZWw0MDM5NjUzNDY=","url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/labels/closed-could-not-reproduce","name":"closed-could-not-reproduce","color":"777777","default":false}],"state":"closed","locked":false,"assignee":{"login":"bricelam","id":1226749,"node_id":"MDQ6VXNlcjEyMjY3NDk=","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,"node_id":"MDQ6VXNlcjEyMjY3NDk=","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":17,"created_at":"2016-11-16T12:51:24Z","updated_at":"2018-09-27T16:32:03Z","closed_at":"2017-03-06T19:06:16Z","author_association":"NONE","body":"### Steps to reproduce\r\n1. Create a class Library-.Net core\r\n2. Add Following Dependencies:\r\n\r\n```\r\n    \"Microsoft.EntityFrameworkCore.Tools\": \"1.1.0-preview4-final\",\r\n    \"Microsoft.EntityFrameworkCore.SqlServer\": \"1.1.0\",\r\n    \"Microsoft.EntityFrameworkCore.SqlServer.Design\": \"1.1.0\",\r\n    \"Microsoft.EntityFrameworkCore.Design\": \"1.1.0\",\r\n```\r\n### The issue\r\nWhen performing Scaffold-Dbcontext towards a SqlServerDB like below, Microsoft.EntityFramework.SqlServer dll is not resolved.. \r\nScaffold-DbContext \"Server={ConnectionString}\" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -verbose\r\n```\r\nException message:\r\nStack trace:\r\nMicrosoft.EntityFrameworkCore.Design.OperationException: Unable to find provider assembly with name Microsoft.EntityFrameworkCore.SqlServer. Ensure the specified name is correct and is referenced by the project. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.EntityFrameworkCore.SqlServer, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.\r\n   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)\r\n   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)\r\n   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)\r\n   at Microsoft.EntityFrameworkCore.Design.Internal.DesignTimeServicesBuilder.GetProviderDesignTimeServices(String provider, Boolean throwOnError)\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.EntityFrameworkCore.Design.Internal.DesignTimeServicesBuilder.GetProviderDesignTimeServices(String provider, Boolean throwOnError)\r\n   at Microsoft.EntityFrameworkCore.Design.Internal.DesignTimeServicesBuilder.Build(String provider)\r\n   at Microsoft.EntityFrameworkCore.Design.Internal.DatabaseOperations.ScaffoldContextAsync(String provider, String connectionString, String outputDir, String dbContextClassName, IEnumerable`1 schemas, IEnumerable`1 tables, Boolean useDataAnnotations, Boolean overwriteFiles, CancellationToken cancellationToken)\r\n   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.<ScaffoldContextImpl>d__22.MoveNext()\r\n   at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source, Int32& length)\r\n   at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)\r\n   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass4_0`1.<Execute>b__0()\r\n   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)\r\nUnable to find provider assembly with name Microsoft.EntityFrameworkCore.SqlServer. Ensure the specified name is correct and is referenced by the project.\r\n```\r\n### Further technical details\r\n\r\nEF Core version: (found in project.json or packages.config)\r\nOperating system: \r\nVisual Studio version: (e.g. VS 2013 or n/a)\r\n\r\nProject.json:\r\n```\r\n{\r\n  \"version\": \"1.0.0-*\",\r\n\r\n  \"dependencies\": {\r\n    \"Microsoft.EntityFrameworkCore.Tools\": \"1.1.0-preview4-final\",\r\n    \"Microsoft.EntityFrameworkCore.SqlServer\": \"1.1.0\",\r\n    \"Microsoft.EntityFrameworkCore.SqlServer.Design\": \"1.1.0\",\r\n    \"Microsoft.EntityFrameworkCore.Design\": \"1.1.0\",\r\n    \"NETStandard.Library\": \"1.6.1\"\r\n  },\r\n\r\n  \"frameworks\": {\r\n    \"netcoreapp1.0\": {\r\n    },\r\n    \"netstandard1.6\": {\r\n      \"imports\": \"dnxcore50\"\r\n    }\r\n  },\r\n\r\n  \"tools\": {\r\n    \"Microsoft.EntityFrameworkCore.Tools.DotNet\": \"1.0.0-preview3-final\"\r\n  },\r\n\r\n  \"buildOptions\": {\r\n    \"emitEntryPoint\": false,\r\n    \"preserveCompilationContext\": true\r\n  }\r\n\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/comments/425158697","html_url":"https://github.com/aspnet/EntityFrameworkCore/issues/7027#issuecomment-425158697","issue_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/7027","id":425158697,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTE1ODY5Nw==","user":{"login":"ajcvickers","id":1430078,"node_id":"MDQ6VXNlcjE0MzAwNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/1430078?v=4","gravatar_id":"","url":"https://api.github.com/users/ajcvickers","html_url":"https://github.com/ajcvickers","followers_url":"https://api.github.com/users/ajcvickers/followers","following_url":"https://api.github.com/users/ajcvickers/following{/other_user}","gists_url":"https://api.github.com/users/ajcvickers/gists{/gist_id}","starred_url":"https://api.github.com/users/ajcvickers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajcvickers/subscriptions","organizations_url":"https://api.github.com/users/ajcvickers/orgs","repos_url":"https://api.github.com/users/ajcvickers/repos","events_url":"https://api.github.com/users/ajcvickers/events{/privacy}","received_events_url":"https://api.github.com/users/ajcvickers/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T16:32:03Z","updated_at":"2018-09-27T16:32:03Z","author_association":"MEMBER","body":"@blackn1ght Please file a new issue and include a runnable project/solution or complete code listing that demonstrates the behavior you are seeing."}}
{"actor":{"display_login":"ajcvickers"}}