{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2591","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2591/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2591/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2591/events","html_url":"https://github.com/aspnet/EntityFramework/issues/2591","id":94339736,"number":2591,"title":"Reference to type 'EntityOptionsBuilder' claims it is defined in 'EntityFramework.Core', but it could not be found","user":{"login":"angelcalvasp","id":7502746,"avatar_url":"https://avatars.githubusercontent.com/u/7502746?v=3","gravatar_id":"","url":"https://api.github.com/users/angelcalvasp","html_url":"https://github.com/angelcalvasp","followers_url":"https://api.github.com/users/angelcalvasp/followers","following_url":"https://api.github.com/users/angelcalvasp/following{/other_user}","gists_url":"https://api.github.com/users/angelcalvasp/gists{/gist_id}","starred_url":"https://api.github.com/users/angelcalvasp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelcalvasp/subscriptions","organizations_url":"https://api.github.com/users/angelcalvasp/orgs","repos_url":"https://api.github.com/users/angelcalvasp/repos","events_url":"https://api.github.com/users/angelcalvasp/events{/privacy}","received_events_url":"https://api.github.com/users/angelcalvasp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-10T16:22:06Z","updated_at":"2015-07-10T20:33:46Z","closed_at":null,"body":"UseSqlServer seems to be missing when I use\r\n\r\noptionsBuilder.UseSqlServer(configuration.Get(\"Data:DefaultConnection:ConnectionString\"));\r\n\r\non my overriden OnConfiguring\r\n\r\nrevelant c#\r\n\r\n```c#\r\npublic class CRMDbContext : IdentityDbContext<ApplicationUser, ApplicationRole, int>\r\n    {\r\n        public CRMDbContext()\r\n        {\r\n\r\n        }\r\n\r\n        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)\r\n        {\r\n\r\n            var configuration = new Configuration()\r\n                .AddJsonFile(\"config.json\")\r\n                .AddEnvironmentVariables();\r\n\r\n            // Visual Studio 2015 | Use the LocalDb 12 instance created by Visual Studio\r\n            optionsBuilder.UseSqlServer(configuration.Get(\"Data:DefaultConnection:ConnectionString\"));\r\n\r\n        }\r\n\r\n}\r\n```\r\nheres my project.json\r\n\r\n```json\r\n\"dependencies\": {\r\n    \"Microsoft.AspNet.Mvc\": \"6.0.0-*\",\r\n    \"Microsoft.AspNet.Server.IIS\": \"1.0.0-*\",\r\n    \"Microsoft.AspNet.Server.WebListener\": \"1.0.0-*\",\r\n    \"Microsoft.AspNet.Diagnostics\": \"1.0.0-*\",\r\n    \"Microsoft.AspNet.Diagnostics.Entity\": \"7.0.0-*\",\r\n    \"Microsoft.AspNet.StaticFiles\": \"1.0.0-*\",\r\n    \"Microsoft.Framework.Configuration.Json\": \"1.0.0-*\",\r\n    \"Microsoft.AspNet.Authentication\": \"1.0.0-*\",\r\n    \"Microsoft.AspNet.Authentication.OAuthBearer\": \"1.0.0-*\",\r\n    \"Microsoft.Framework.ConfigurationModel.Json\": \"1.0.0-*\",\r\n    \"Microsoft.AspNet.Identity.EntityFramework\": \"3.0.0-*\",\r\n    \"EntityFramework.SqlServer\": \"7.0.0-*\",\r\n    \"EntityFramework.Commands\": \"7.0.0-*\"\r\n  },\r\n```"},"comment":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/comments/120514998","html_url":"https://github.com/aspnet/EntityFramework/issues/2591#issuecomment-120514998","issue_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2591","id":120514998,"user":{"login":"natemcmaster","id":2696087,"avatar_url":"https://avatars.githubusercontent.com/u/2696087?v=3","gravatar_id":"","url":"https://api.github.com/users/natemcmaster","html_url":"https://github.com/natemcmaster","followers_url":"https://api.github.com/users/natemcmaster/followers","following_url":"https://api.github.com/users/natemcmaster/following{/other_user}","gists_url":"https://api.github.com/users/natemcmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/natemcmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemcmaster/subscriptions","organizations_url":"https://api.github.com/users/natemcmaster/orgs","repos_url":"https://api.github.com/users/natemcmaster/repos","events_url":"https://api.github.com/users/natemcmaster/events{/privacy}","received_events_url":"https://api.github.com/users/natemcmaster/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T20:33:46Z","updated_at":"2015-07-10T20:33:46Z","body":"In beta5, it is `EntityOptionsBuilder`. In beta4 and the nightly builds, it is `DbContextOptionsBuilder`. \r\n\r\nTry changing to `protected override void OnConfiguring(EntityOptionsBuilder optionsBuilder)` as a temporary workaround until beta6 rolls."}}