{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/13607","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/13607/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/13607/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/13607/events","html_url":"https://github.com/dotnet/roslyn/issues/13607","id":175088989,"number":13607,"title":"MissingMethodException: VisualStudioProjectTracker.get_Projects() not found","user":{"login":"svick","id":287848,"avatar_url":"https://avatars.githubusercontent.com/u/287848?v=3","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-05T15:02:28Z","updated_at":"2016-09-05T19:24:22Z","closed_at":null,"body":"**Version Used**: master (4d6eb4f)\r\n\r\n**Steps to Reproduce**:\r\n\r\n1. Clone the Roslyn repo.\r\n2. `Restore.cmd`, `msbuild /v:m /m Roslyn.sln`.\r\n3. Open Roslyn.sln in VS 2015 U3, set Roslyn as the startup project, <kbd>F5</kbd>.\r\n4. Create new .Net Framework C# Console application project.\r\n\r\n**Expected Behavior**: No fatal exception.\r\n\r\n**Actual Behavior**:\r\n\r\nVS breaks in `FatalError.Report` with the following exception:\r\n\r\n```\r\nSystem.MissingMethodException: Method not found: 'System.Collections.Generic.IEnumerable`1<Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.AbstractProject> Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.VisualStudioProjectTracker.get_Projects()'.\r\n   at Microsoft.VisualStudio.Alm.Roslyn.Client.VisualStudioIntegrationService.TryGetProjectInformation(Guid projectGuid, IVisualStudioProjectInformation& projectInformation)\r\n   at Microsoft.VisualStudio.CodeSense.Editor.Roslyn.CodeElementTagger.RefreshProjectInformation()\r\n   at Microsoft.VisualStudio.CodeSense.Editor.Roslyn.CodeElementTagger.SetHierarchy(IVsHierarchy hierarchy)\r\n   at Microsoft.VisualStudio.CodeSense.Editor.Roslyn.CodeElementTagger..ctor(ITextView textView, ICodeElementCache cache, IVsHierarchy hierarchy, String documentName, UInt32 documentCookie, RunningDocumentTable runningDocumentTable, IVisualStudioIntegrationService visualStudioIntegrationService)\r\n   at Microsoft.VisualStudio.CodeSense.Editor.Roslyn.CodeElementTaggerProvider.CreateTagger(ITextView textView)\r\n   at Microsoft.VisualStudio.CodeSense.Editor.TaggerProvider`1.CreateTagger[T](ITextView textView, ITextBuffer buffer)\r\n   at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)\r\n```\r\n\r\nCall stack at the break:\r\n\r\n```\r\n>\tMicrosoft.CodeAnalysis.Workspaces.dll!Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception exception, System.Action<System.Exception> handler) Line 151\tC#\r\n \tRoslyn.VisualStudio.Test.Setup.dll!Roslyn.VisualStudio.Test.Setup.TestExtensionErrorHandler.HandleError(object sender, System.Exception exception) Line 17\tC#\r\n \tMicrosoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Utilities.GuardedOperations.HandleException(object errorSource, System.Exception e)\tUnknown\r\n \tMicrosoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator<Microsoft.VisualStudio.Language.Intellisense.ICodeLensTag>.GatherTaggers(Microsoft.VisualStudio.Text.ITextBuffer textBuffer)\tUnknown\r\n \tMicrosoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator<Microsoft.VisualStudio.Language.Intellisense.ICodeLensTag>.Initialize.AnonymousMethod__13_0(Microsoft.VisualStudio.Text.ITextBuffer buffer)\tUnknown\r\n \tMicrosoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraph.GetTextBuffers(System.Predicate<Microsoft.VisualStudio.Text.ITextBuffer> match)\tUnknown\r\n \tMicrosoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator<Microsoft.VisualStudio.Language.Intellisense.ICodeLensTag>.Initialize()\tUnknown\r\n \tMicrosoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator<Microsoft.VisualStudio.Language.Intellisense.ICodeLensTag>.EnsureInitialized()\tUnknown\r\n \tMicrosoft.VisualStudio.Platform.VSEditor.dll!Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator<System.__Canon>..ctor.AnonymousMethod__12_0()\tUnknown\r\n \tWindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs)\tUnknown\r\n \tWindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler)\tUnknown\r\n \tWindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl()\tUnknown\r\n \tWindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state)\tUnknown\r\n \tmscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)\tUnknown\r\n \tmscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx)\tUnknown\r\n \tmscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state)\tUnknown\r\n \tWindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state)\tUnknown\r\n \tWindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke()\tUnknown\r\n \tWindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue()\tUnknown\r\n \tWindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled)\tUnknown\r\n \tWindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled)\tUnknown\r\n \tWindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o)\tUnknown\r\n \tWindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs)\tUnknown\r\n \tWindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler)\tUnknown\r\n \tWindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs)\tUnknown\r\n \tWindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam)\tUnknown\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/244802099","html_url":"https://github.com/dotnet/roslyn/issues/13607#issuecomment-244802099","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/13607","id":244802099,"user":{"login":"Pilchie","id":312835,"avatar_url":"https://avatars.githubusercontent.com/u/312835?v=3","gravatar_id":"","url":"https://api.github.com/users/Pilchie","html_url":"https://github.com/Pilchie","followers_url":"https://api.github.com/users/Pilchie/followers","following_url":"https://api.github.com/users/Pilchie/following{/other_user}","gists_url":"https://api.github.com/users/Pilchie/gists{/gist_id}","starred_url":"https://api.github.com/users/Pilchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pilchie/subscriptions","organizations_url":"https://api.github.com/users/Pilchie/orgs","repos_url":"https://api.github.com/users/Pilchie/repos","events_url":"https://api.github.com/users/Pilchie/events{/privacy}","received_events_url":"https://api.github.com/users/Pilchie/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T19:24:22Z","updated_at":"2016-09-05T19:24:22Z","body":"Looks like this is fallout from #12927 - which changed that property to return `ImmutableArray<AbstractProject>` instead of `IEnumerable<AbstractProject>`."}}
{"actor":{"display_login":"Pilchie"}}