{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/3419","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/3419/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/3419/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/3419/events","html_url":"https://github.com/NuGet/Home/issues/3419","id":175435688,"number":3419,"title":"GetFullVsVersionString must be called on the UI thread","user":{"login":"HEBOS","id":19429376,"avatar_url":"https://avatars.githubusercontent.com/u/19429376?v=3","gravatar_id":"","url":"https://api.github.com/users/HEBOS","html_url":"https://github.com/HEBOS","followers_url":"https://api.github.com/users/HEBOS/followers","following_url":"https://api.github.com/users/HEBOS/following{/other_user}","gists_url":"https://api.github.com/users/HEBOS/gists{/gist_id}","starred_url":"https://api.github.com/users/HEBOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HEBOS/subscriptions","organizations_url":"https://api.github.com/users/HEBOS/orgs","repos_url":"https://api.github.com/users/HEBOS/repos","events_url":"https://api.github.com/users/HEBOS/events{/privacy}","received_events_url":"https://api.github.com/users/HEBOS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NuGet/Home/labels/Area:VS.Client","name":"Area:VS.Client","color":"159818"},{"url":"https://api.github.com/repos/NuGet/Home/labels/Priority:0","name":"Priority:0","color":"fbca04"},{"url":"https://api.github.com/repos/NuGet/Home/labels/Type:Bug","name":"Type:Bug","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"zhili1208","id":7131513,"avatar_url":"https://avatars.githubusercontent.com/u/7131513?v=3","gravatar_id":"","url":"https://api.github.com/users/zhili1208","html_url":"https://github.com/zhili1208","followers_url":"https://api.github.com/users/zhili1208/followers","following_url":"https://api.github.com/users/zhili1208/following{/other_user}","gists_url":"https://api.github.com/users/zhili1208/gists{/gist_id}","starred_url":"https://api.github.com/users/zhili1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhili1208/subscriptions","organizations_url":"https://api.github.com/users/zhili1208/orgs","repos_url":"https://api.github.com/users/zhili1208/repos","events_url":"https://api.github.com/users/zhili1208/events{/privacy}","received_events_url":"https://api.github.com/users/zhili1208/received_events","type":"User","site_admin":false},"assignees":[{"login":"zhili1208","id":7131513,"avatar_url":"https://avatars.githubusercontent.com/u/7131513?v=3","gravatar_id":"","url":"https://api.github.com/users/zhili1208","html_url":"https://github.com/zhili1208","followers_url":"https://api.github.com/users/zhili1208/followers","following_url":"https://api.github.com/users/zhili1208/following{/other_user}","gists_url":"https://api.github.com/users/zhili1208/gists{/gist_id}","starred_url":"https://api.github.com/users/zhili1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhili1208/subscriptions","organizations_url":"https://api.github.com/users/zhili1208/orgs","repos_url":"https://api.github.com/users/zhili1208/repos","events_url":"https://api.github.com/users/zhili1208/events{/privacy}","received_events_url":"https://api.github.com/users/zhili1208/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/NuGet/Home/milestones/42","html_url":"https://github.com/NuGet/Home/milestones/3.5%20RTM","labels_url":"https://api.github.com/repos/NuGet/Home/milestones/42/labels","id":1919113,"number":42,"title":"3.5 RTM","description":"","creator":{"login":"rrelyea","id":8865080,"avatar_url":"https://avatars.githubusercontent.com/u/8865080?v=3","gravatar_id":"","url":"https://api.github.com/users/rrelyea","html_url":"https://github.com/rrelyea","followers_url":"https://api.github.com/users/rrelyea/followers","following_url":"https://api.github.com/users/rrelyea/following{/other_user}","gists_url":"https://api.github.com/users/rrelyea/gists{/gist_id}","starred_url":"https://api.github.com/users/rrelyea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rrelyea/subscriptions","organizations_url":"https://api.github.com/users/rrelyea/orgs","repos_url":"https://api.github.com/users/rrelyea/repos","events_url":"https://api.github.com/users/rrelyea/events{/privacy}","received_events_url":"https://api.github.com/users/rrelyea/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":30,"state":"open","created_at":"2016-08-02T19:08:16Z","updated_at":"2016-09-15T22:28:26Z","due_on":"2016-09-19T00:00:00Z","closed_at":null},"comments":48,"created_at":"2016-09-07T07:50:57Z","updated_at":"2016-09-16T04:35:19Z","closed_at":null,"body":"Cannot open Nuget package manager in Visual Studio 2015:\r\n\r\nHere is the error log:\r\nLegacySitePackage failed for package [NuGetPackage]Source: Microsoft.VisualStudio.Composition\r\n Description: An exception was thrown while initializing part \"NuGet.PackageManagement.VisualStudio.VSSolutionManager\".\r\nMicrosoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part \"NuGet.PackageManagement.VisualStudio.VSSolutionManager\". ---&gt; System.Runtime.InteropServices.COMException: GetFullVsVersionString must be called on the UI thread.\r\n   at Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(String callerMemberName)\r\n   at NuGet.PackageManagement.VisualStudio.VSVersionHelper.GetFullVsVersionString()\r\n   at NuGet.PackageManagement.VisualStudio.VSSolutionManager..ctor()\r\n   --- End of inner exception stack trace ---\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.&lt;&gt;c__DisplayClass15_0.&lt;GetExportedValueHelper&gt;b__0()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.&lt;&gt;c__DisplayClass15_0.&lt;GetExportedValueHelper&gt;b__0()\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory)\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import)\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.&lt;CreateValue&gt;b__10_0(RuntimeImport import)\r\n   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()\r\n   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)\r\n   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at System.Lazy`1.CreateValue()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Lazy`1.CreateValue()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at System.Lazy`1.CreateValue()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.&lt;&gt;c__DisplayClass12_0.&lt;UnwrapExport&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()\r\n   at System.ComponentModel.Composition.Primitives.Export.get_Value()\r\n   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)\r\n   at System.ComponentModel.Composition.ExportServices.&lt;&gt;c__DisplayClass12_0`1.&lt;CreateStronglyTypedLazyOfT&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.CreateValue()\r\n   at Clide.Composition.ExportsServiceLocator.&lt;DoGetInstance&gt;b__0(Lazy`1 e)\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.get_Value()\r\n   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)\r\n   at System.Lazy`1.LazyInitValue()\r\n   at Clide.Composition.ExportsServiceLocator.DoGetInstance(Type serviceType, String key)\r\n   at System.Lazy`1.get_Value()\r\n   at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()\r\n   at System.ComponentModel.Composition.Primitives.Export.get_Value()\r\n   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)\r\n   at System.ComponentModel.Composition.ExportServices.&lt;&gt;c__DisplayClass12_0`1.&lt;CreateStronglyTypedLazyOfT&gt;b__1()\r\n   at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.&lt;&gt;c__DisplayClass12_0.&lt;UnwrapExport&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)\r\n   at System.ComponentModel.Composition.ExportServices.&lt;&gt;c__DisplayClass12_0`1.&lt;CreateStronglyTypedLazyOfT&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Clide.Composition.ExportsServiceLocator.&lt;DoGetInstance&gt;b__0(Lazy`1 e)\r\n   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()\r\n   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)\r\n   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()\r\n   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)\r\n   at Clide.Composition.ExportsServiceLocator.DoGetInstance(Type serviceType, String key)\r\n   at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)\r\n   at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.&lt;&gt;c__DisplayClass12_0.&lt;UnwrapExport&gt;b__1()\r\n   at System.ComponentModel.Composition.Primitives.Export.GetExportedValueCore()\r\n   at System.ComponentModel.Composition.Primitives.Export.get_Value()\r\n   at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)\r\n   at System.ComponentModel.Composition.ExportServices.&lt;&gt;c__DisplayClass12_0`1.&lt;CreateStronglyTypedLazyOfT&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Clide.Composition.ExportsServiceLocator.&lt;DoGetInstance&gt;b__0(Lazy`1 e)\r\n   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()\r\n   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)\r\n   at Clide.Composition.ExportsServiceLocator.DoGetInstance(Type serviceType, String key)\r\n   at Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.&lt;&gt;c__DisplayClass15_0.&lt;GetExportedValueHelper&gt;b__0()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.&lt;&gt;c__DisplayClass15_0.&lt;GetExportedValueHelper&gt;b__0()\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory)\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import)\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.&lt;CreateValue&gt;b__10_0(RuntimeImport import)\r\n   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()\r\n   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)\r\n   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)\r\n   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass70_0`2.&lt;GetExports&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValue[T]()\r\n   at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]()\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;GetComponentModelServiceAsync&gt;d__10`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;&gt;c__6`1.&lt;&lt;GetInstance&gt;b__6_0&gt;d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions)\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.GetInstance[TService]()\r\n   at NuGet.PackageManagement.VisualStudio.VSSolutionManager.GetProjectFactory()\r\n   at NuGet.PackageManagement.VisualStudio.VSSolutionManager.EnsureNuGetAndEnvDTEProjectCache()\r\n   at NuGet.PackageManagement.VisualStudio.VSSolutionManager.OnSolutionExistsAndFullyLoaded()\r\n   at NuGet.PackageManagement.VisualStudio.VSSolutionManager.OnCmdUIContextChanged(UInt32 dwCmdUICookie, Int32 fActive)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass70_0`2.&lt;GetExports&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValue[T]()\r\n   at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]()\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;GetComponentModelServiceAsync&gt;d__10`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;&gt;c__6`1.&lt;&lt;GetInstance&gt;b__6_0&gt;d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions)\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.GetInstance[TService]()\r\n   at NuGetVSExtension.NuGetPackage.LoadSettings()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass70_0`2.&lt;GetExports&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValue[T]()\r\n   at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]()\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;GetComponentModelServiceAsync&gt;d__10`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;&gt;c__6`1.&lt;&lt;GetInstance&gt;b__6_0&gt;d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions)\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.GetInstance[TService]()\r\n   at NuGetVSExtension.NuGetPackage.GetCredentialProviders()\r\n   at NuGetVSExtension.NuGetPackage.SetDefaultCredentialProvider()\r\n   at NuGetVSExtension.NuGetPackage.Initialize()\r\n   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass70_0`2.&lt;GetExports&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValue[T]()\r\n   at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]()\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;GetComponentModelServiceAsync&gt;d__10`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;&gt;c__6`1.&lt;&lt;GetInstance&gt;b__6_0&gt;d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions)\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.GetInstance[TService]()\r\n   at NuGetVSExtension.NuGetPackage.LoadSettings()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass70_0`2.&lt;GetExports&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValue[T]()\r\n   at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]()\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;GetComponentModelServiceAsync&gt;d__10`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;&gt;c__6`1.&lt;&lt;GetInstance&gt;b__6_0&gt;d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions)\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.GetInstance[TService]()\r\n   at NuGetVSExtension.NuGetPackage.GetCredentialProviders()\r\n   at NuGetVSExtension.NuGetPackage.SetDefaultCredentialProvider()\r\n   at NuGetVSExtension.NuGetPackage.Initialize()\r\n   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass70_0`2.&lt;GetExports&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValue[T]()\r\n   at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]()\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;GetComponentModelServiceAsync&gt;d__10`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;&gt;c__6`1.&lt;&lt;GetInstance&gt;b__6_0&gt;d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions)\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.GetInstance[TService]()\r\n   at NuGetVSExtension.NuGetPackage.LoadSettings()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass53_0.&lt;CreateExport&gt;b__0()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.&lt;&gt;c__DisplayClass70_0`2.&lt;GetExports&gt;b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at System.Lazy`1.get_Value()\r\n   at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValue[T]()\r\n   at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]()\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;GetComponentModelServiceAsync&gt;d__10`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.&lt;&gt;c__6`1.&lt;&lt;GetInstance&gt;b__6_0&gt;d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod, JoinableTaskCreationOptions creationOptions)\r\n   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[T](Func`1 asyncMethod)\r\n   at NuGet.PackageManagement.VisualStudio.ServiceLocator.GetInstance[TService]()\r\n   at NuGetVSExtension.NuGetPackage.GetCredentialProviders()\r\n   at NuGetVSExtension.NuGetPackage.SetDefaultCredentialProvider()\r\n   at NuGetVSExtension.NuGetPackage.Initialize()\r\n   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)System.Runtime.InteropServices.COMException (0x8001010E): GetFullVsVersionString must be called on the UI thread.\r\n   at Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(String callerMemberName)\r\n   at NuGet.PackageManagement.VisualStudio.VSVersionHelper.GetFullVsVersionString()\r\n   at NuGet.PackageManagement.VisualStudio.VSSolutionManager..ctor()"},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/247516190","html_url":"https://github.com/NuGet/Home/issues/3419#issuecomment-247516190","issue_url":"https://api.github.com/repos/NuGet/Home/issues/3419","id":247516190,"user":{"login":"craigajohnson","id":5340203,"avatar_url":"https://avatars.githubusercontent.com/u/5340203?v=3","gravatar_id":"","url":"https://api.github.com/users/craigajohnson","html_url":"https://github.com/craigajohnson","followers_url":"https://api.github.com/users/craigajohnson/followers","following_url":"https://api.github.com/users/craigajohnson/following{/other_user}","gists_url":"https://api.github.com/users/craigajohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/craigajohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigajohnson/subscriptions","organizations_url":"https://api.github.com/users/craigajohnson/orgs","repos_url":"https://api.github.com/users/craigajohnson/repos","events_url":"https://api.github.com/users/craigajohnson/events{/privacy}","received_events_url":"https://api.github.com/users/craigajohnson/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T04:35:19Z","updated_at":"2016-09-16T04:35:19Z","body":"@kzu as per an earlier comment, yes, the simplest repro case I could generate involved a Xamarin Component. I kept removing packages one-by-one (at the time curious if it was package-specific) and it wasn't until I removed the components that it worked. Adding back in a component then raised the error (once out and back in to VS).\r\n\r\nhttps://1drv.ms/u/s!AiamtlJ7P8BQ1p8HFGnvAxT7Bj-G-A\r\n"}}
{"actor":{"display_login":"craigajohnson"}}