{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/6129","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/6129/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/6129/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/6129/events","html_url":"https://github.com/Microsoft/vscode/issues/6129","id":153208800,"number":6129,"title":"Phantom build error when dbset name changed","user":{"login":"yogiderek","id":2614368,"avatar_url":"https://avatars.githubusercontent.com/u/2614368?v=3","gravatar_id":"","url":"https://api.github.com/users/yogiderek","html_url":"https://github.com/yogiderek","followers_url":"https://api.github.com/users/yogiderek/followers","following_url":"https://api.github.com/users/yogiderek/following{/other_user}","gists_url":"https://api.github.com/users/yogiderek/gists{/gist_id}","starred_url":"https://api.github.com/users/yogiderek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogiderek/subscriptions","organizations_url":"https://api.github.com/users/yogiderek/orgs","repos_url":"https://api.github.com/users/yogiderek/repos","events_url":"https://api.github.com/users/yogiderek/events{/privacy}","received_events_url":"https://api.github.com/users/yogiderek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-05T10:50:08Z","updated_at":"2016-05-06T06:06:52Z","closed_at":"2016-05-06T06:06:52Z","body":"- VSCode Version:1.1.0-insider\r\n- OS Version: 10.0.10586\r\n\r\nSteps to Reproduce:\r\n\r\n1. In my DbContext derived class, I replaced,\r\n \t```public virtual DbSet<NewsItem> NewsItem { get; set; }``` by\r\n \t```public virtual DbSet<NewsItem> NewsItems { get; set; }``` \r\n\r\n2. In HomeController.cs I replaced\r\n```\r\n\t    public IActionResult Index()\r\n\t\t{\r\n\t\t\treturn View(_db.NewsItem);\r\n\t\t}\r\n```\r\nby\r\n```\r\n\t\tpublic IActionResult Index()\r\n\t\t{\r\n\t\t\treturn View(_db.NewsItems);\r\n\t\t}\r\n```\r\n3  Save all files and click debug to build and run. The following error is detected during preLaunchTask 'build'\r\n\r\n'xxxxxContext' does not contain a definition for 'NewsItems' and no extension method .......\r\n\r\n4  Close down and reopen project\r\n5  Click debug and application builds and runs ok. Error??? is no longer detected by vscode\r\n\r\n"}}