{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/7396","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/7396/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/7396/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/7396/events","html_url":"https://github.com/dotnet/roslyn/issues/7396","id":121529035,"number":7396,"title":"CSharpAddImportCodeFixProvider encountered an error and has been disabled.","user":{"login":"marked23","id":732793,"avatar_url":"https://avatars.githubusercontent.com/u/732793?v=3","gravatar_id":"","url":"https://api.github.com/users/marked23","html_url":"https://github.com/marked23","followers_url":"https://api.github.com/users/marked23/followers","following_url":"https://api.github.com/users/marked23/following{/other_user}","gists_url":"https://api.github.com/users/marked23/gists{/gist_id}","starred_url":"https://api.github.com/users/marked23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marked23/subscriptions","organizations_url":"https://api.github.com/users/marked23/orgs","repos_url":"https://api.github.com/users/marked23/repos","events_url":"https://api.github.com/users/marked23/events{/privacy}","received_events_url":"https://api.github.com/users/marked23/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jmarolf","id":9797472,"avatar_url":"https://avatars.githubusercontent.com/u/9797472?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarolf","html_url":"https://github.com/jmarolf","followers_url":"https://api.github.com/users/jmarolf/followers","following_url":"https://api.github.com/users/jmarolf/following{/other_user}","gists_url":"https://api.github.com/users/jmarolf/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarolf/subscriptions","organizations_url":"https://api.github.com/users/jmarolf/orgs","repos_url":"https://api.github.com/users/jmarolf/repos","events_url":"https://api.github.com/users/jmarolf/events{/privacy}","received_events_url":"https://api.github.com/users/jmarolf/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/4","html_url":"https://github.com/dotnet/roslyn/milestones/1.2","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/4/labels","id":937402,"number":4,"title":"1.2","description":"This is our 1.2 Milestone.\r\n\r\n<!---\r\n@huboard:{\"order\":2.0}\r\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":601,"closed_issues":337,"state":"open","created_at":"2015-01-15T20:48:55Z","updated_at":"2016-01-09T01:44:53Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-12-10T16:44:48Z","updated_at":"2016-01-09T19:09:48Z","closed_at":null,"body":"I get this warning at the top of the screen in VS 2015 Pro (RTM, and now also Update 1):\r\n\r\n'CSharpAddImportCodeFixProvider' encountered an error and has been disabled.\r\n\r\nThis is a frequent harbinger of an imminent IDE crash.  However, not all IDE crashes are preceded by these warnings. \r\n\r\nI'm usually typing new code and a dot that would normally show an intellisense pop-up will cause this.  Also happens when pasting code.  Also happens when adjusting curly braces.\r\n\r\nMy solution has bad namespace hygiene.  I think that's related to the problem, and can make this difficult to repro outside of my solution."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/170271007","html_url":"https://github.com/dotnet/roslyn/issues/7396#issuecomment-170271007","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/7396","id":170271007,"user":{"login":"marked23","id":732793,"avatar_url":"https://avatars.githubusercontent.com/u/732793?v=3","gravatar_id":"","url":"https://api.github.com/users/marked23","html_url":"https://github.com/marked23","followers_url":"https://api.github.com/users/marked23/followers","following_url":"https://api.github.com/users/marked23/following{/other_user}","gists_url":"https://api.github.com/users/marked23/gists{/gist_id}","starred_url":"https://api.github.com/users/marked23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marked23/subscriptions","organizations_url":"https://api.github.com/users/marked23/orgs","repos_url":"https://api.github.com/users/marked23/repos","events_url":"https://api.github.com/users/marked23/events{/privacy}","received_events_url":"https://api.github.com/users/marked23/received_events","type":"User","site_admin":false},"created_at":"2016-01-09T19:09:48Z","updated_at":"2016-01-09T19:09:48Z","body":"@rvrn22 @mrhodes-tessitura\r\nI have a couple questions.  I'm not sure if the answers would be valuable or not, but I have some hunches. \r\n\r\nDo you have a confusing namespace arrangement? \r\nAre you also using a code-assistant, like Resharper or CodeRush?\r\nDoes your project/solution have a history that dates back to .Net 2.0/3.5? \r\nDo you have references to dlls that are .Net 2.0?\r\nDo you have references to multiple dlls that may contain the same class or method names? (e.g., In my case, I had references to three different commercial barcode libraries, all of which contained a \"barcode\" class.)\r\n\r\nIt's been a couple weeks since I've seen the bug repro (knock-on-wood). For me, I think it was removing the extra barcode libraries.\r\n"}}