{"action":"created","issue":{"url":"https://api.github.com/repos/xunit/resharper-xunit/issues/72","labels_url":"https://api.github.com/repos/xunit/resharper-xunit/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/xunit/resharper-xunit/issues/72/comments","events_url":"https://api.github.com/repos/xunit/resharper-xunit/issues/72/events","html_url":"https://github.com/xunit/resharper-xunit/issues/72","id":101618095,"number":72,"title":"InvalidOperationException related to SuppressUnusedXunitTestElements","user":{"login":"ljani","id":1334470,"avatar_url":"https://avatars.githubusercontent.com/u/1334470?v=3","gravatar_id":"","url":"https://api.github.com/users/ljani","html_url":"https://github.com/ljani","followers_url":"https://api.github.com/users/ljani/followers","following_url":"https://api.github.com/users/ljani/following{/other_user}","gists_url":"https://api.github.com/users/ljani/gists{/gist_id}","starred_url":"https://api.github.com/users/ljani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljani/subscriptions","organizations_url":"https://api.github.com/users/ljani/orgs","repos_url":"https://api.github.com/users/ljani/repos","events_url":"https://api.github.com/users/ljani/events{/privacy}","received_events_url":"https://api.github.com/users/ljani/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-18T09:56:29Z","updated_at":"2015-08-19T05:07:35Z","closed_at":"2015-08-18T13:03:37Z","body":"Hi,\r\n\r\n\r\nI just upgraded from VS2013, R#8.2 and xunit 1.9.2 to VS2015, ReSharper 9.2RC, xUnit 2.0.0, xUnit runner 2.0.1 and resharper-xunit 2.2.8 and I'm getting following exception (and a few variations) all the time:\r\n\r\n```\r\nCould not get the value of the descritor “XunitContrib.Runner.ReSharper.UnitTestProvider.SuppressUnusedXunitTestElements [Singleton, Corrupted]” to show it into the viewable. Component descriptor XunitContrib.Runner.ReSharper.UnitTestProvider.SuppressUnusedXunitTestElements [Singleton, Corrupted] is corrupted and cannot be accessed\r\n\r\n--- EXCEPTION #1/2 [InvalidOperationException]\r\nMessage = “Component descriptor XunitContrib.Runner.ReSharper.UnitTestProvider.SuppressUnusedXunitTestElements [Singleton, Corrupted] is corrupted and cannot be accessed”\r\nExceptionPath = Root.InnerException\r\nClassName = System.InvalidOperationException\r\nHResult = COR_E_INVALIDOPERATION=80131509\r\nSource = JetBrains.Platform.ComponentModel\r\nStackTraceString = “\r\n  at JetBrains.Application.Components.SingletonDescriptor.GetValue()\r\n     at JetBrains.Application.Components.ViewableValueResolver.ViewableComponentDescriptor`1.<>c__DisplayClass1.<View>b__0(Lifetime descriptorLifetime, IComponentDescriptor descriptor)\r\n”\r\n\r\n--- Outer ---\r\n\r\n--- EXCEPTION #2/2 [LoggerException]\r\nMessage = “Could not get the value of the descritor “XunitContrib.Runner.ReSharper.UnitTestProvider.SuppressUnusedXunitTestElements [Singleton, Corrupted]” to show it into the viewable. Component descriptor XunitContrib.Runner.ReSharper.UnitTestProvider.SuppressUnusedXunitTestElements [Singleton, Corrupted] is corrupted and cannot be accessed”\r\nExceptionPath = Root\r\nClassName = JetBrains.Util.LoggerException\r\nInnerException = “Exception #1 at Root.InnerException”\r\nHResult = COR_E_APPLICATION=80131600\r\nStackTraceString = “\r\n  at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message)\r\n     at JetBrains.Application.Components.ViewableValueResolver.ViewableComponentDescriptor`1.<>c__DisplayClass1.<View>b__0(Lifetime descriptorLifetime, IComponentDescriptor descriptor)\r\n     at JetBrains.Application.Components.ComponentStorage.View[T](Lifetime lifetime, Action`2 viewer)\r\n     at JetBrains.Application.Components.ViewableValueResolver.ViewableComponentDescriptor`1.View(Lifetime lifetime, Action`2 viewer)\r\n     at JetBrains.Application.Components.ViewableValueResolver.ViewableComponentDescriptor`1.View(Lifetime lifetime, Action`2 viewer)\r\n     at JetBrains.ReSharper.Daemon.UsageChecking.UsageAnalyzer..ctor(Lifetime lifetime, IViewable`1 suppressors)\r\n     at JetBrains.ReSharper.Daemon.JavaScript.UsageChecking.JavaScriptUsageCheckingServices..ctor(Lifetime lifetime, IViewable`1 suppressors)\r\n     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n     at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)\r\n     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)\r\n     at JetBrains.Application.Components.SingletonDescriptor.GetValue()\r\n     at JetBrains.Application.Components.InitializationStrategyDefault.Schedule(Lifetime lifetime, IComponentDescriptor dsc)\r\n     at JetBrains.Application.Components.ComponentStorage.InstantiateDescriptors(IEnumerable`1 descriptors)\r\n     at JetBrains.Application.Components.ComponentStorage.ComposeDescriptors(ICollection`1 descriptors)\r\n     at JetBrains.Application.Components.ComponentStorage.Compose()\r\n     at JetBrains.Application.Extensibility.SplittedComponentContainer`2.InitializeDefinition(Lifetime lifetime, TDefinition definition, IPartsCatalogueSet catalogueSet, IComponentContainer parentContainer)\r\n     at JetBrains.ReSharper.Psi.LanguageManager.InitializeDefinition(Lifetime lifetime, PsiLanguageType definition, IPartsCatalogueSet catalogueSet, IComponentContainer parentContainer)\r\n     at JetBrains.Application.Extensibility.SplittedComponentContainer`2.<>c__DisplayClass5.<.ctor>b__2(Lifetime definitionLifetime, TDefinition definition)\r\n     at JetBrains.DataFlow.ViewableCollection`1.View(Lifetime viewLifetime, TValue value, Action`2 observer)\r\n     at JetBrains.DataFlow.ViewableCollection`1.<>c__DisplayClass2.<View>b__1(TValue value)\r\n     at JetBrains.Util.CollectionUtil.ForEach[T](IEnumerable`1 collection, Action`1 action)\r\n     at JetBrains.DataFlow.ViewableCollection`1.View(Lifetime lifetime, Action`2 viewer)\r\n     at JetBrains.ReSharper.Psi.Languages.View(Lifetime lifetime, Action`2 viewer)\r\n     at JetBrains.Application.Extensibility.SplittedComponentContainer`2..ctor(Lifetime lifetime, IPartsCatalogueSet catalogueSet, IComponentContainer parentContainer, IViewable`1 definitions, Expression`1 property)\r\n     at JetBrains.ReSharper.Psi.LanguageManager..ctor(IShellLocks locks, Lifetime lifetime, IPartsCatalogueSet catalogueSet, IComponentContainer parentContainer, ILanguages languages)\r\n     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n     at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)\r\n     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)\r\n     at JetBrains.Application.Components.SingletonDescriptor.GetValue()\r\n     at JetBrains.Application.Components.SignatureResolution.BindArguments(List`1 argumentDescriptors, String origin)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)\r\n     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)\r\n     at JetBrains.Application.Components.SingletonDescriptor.GetValue()\r\n     at JetBrains.Application.Components.SignatureResolution.BindArguments(List`1 argumentDescriptors, String origin)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)\r\n     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)\r\n     at JetBrains.Application.Components.SingletonDescriptor.GetValue()\r\n     at JetBrains.Application.Components.InitializationStrategyDefault.Schedule(Lifetime lifetime, IComponentDescriptor dsc)\r\n     at JetBrains.Application.Components.ComponentStorage.InstantiateDescriptors(IEnumerable`1 descriptors)\r\n     at JetBrains.Application.Components.ComponentStorage.ComposeDescriptors(ICollection`1 descriptors)\r\n     at JetBrains.Application.Components.ComponentStorage.Compose()\r\n     at JetBrains.Application.Extensibility.SplittedComponentContainer`2.InitializeDefinition(Lifetime lifetime, TDefinition definition, IPartsCatalogueSet catalogueSet, IComponentContainer parentContainer)\r\n     at JetBrains.Application.Extensibility.SplittedComponentContainer`2.<>c__DisplayClass5.<.ctor>b__2(Lifetime definitionLifetime, TDefinition definition)\r\n     at JetBrains.DataFlow.ViewableCollection`1.View(Lifetime viewLifetime, TValue value, Action`2 observer)\r\n     at JetBrains.DataFlow.ViewableCollection`1.<>c__DisplayClass2.<View>b__1(TValue value)\r\n     at JetBrains.Util.CollectionUtil.ForEach[T](IEnumerable`1 collection, Action`1 action)\r\n     at JetBrains.DataFlow.ViewableCollection`1.View(Lifetime lifetime, Action`2 viewer)\r\n     at JetBrains.ProjectModel.ProjectFileTypes.View(Lifetime lifetime, Action`2 viewer)\r\n     at JetBrains.Application.Extensibility.SplittedComponentContainer`2..ctor(Lifetime lifetime, IPartsCatalogueSet catalogueSet, IComponentContainer parentContainer, IViewable`1 definitions, Expression`1 property)\r\n     at JetBrains.ProjectModel.FileTypes.ProjectFileTypeServices..ctor(Lifetime lifetime, IPartsCatalogueSet catalogueSet, IComponentContainer parentContainer, IProjectFileTypes fileTypes)\r\n     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n     at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)\r\n     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)\r\n     at JetBrains.Application.Components.SingletonDescriptor.GetValue()\r\n     at JetBrains.Application.Components.SignatureResolution.BindArguments(List`1 argumentDescriptors, String origin)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)\r\n     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)\r\n     at JetBrains.Application.Components.SingletonDescriptor.GetValue()\r\n     at JetBrains.Application.Components.EnumerableValueResolver.EnumerableComponentDescriptor`1.<GetEnumerator>d__0.MoveNext()\r\n     at JetBrains.Application.Components.EnumerableValueResolver.EnumerableComponentDescriptor`1.GetValue()\r\n     at JetBrains.Application.Components.SignatureResolution.BindArguments(List`1 argumentDescriptors, String origin)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)\r\n     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)\r\n     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)\r\n     at JetBrains.Application.Components.SingletonDescriptor.GetValue()\r\n     at JetBrains.Application.Components.DelayedInitializationStrategy.<>c__DisplayClass5.<Schedule>b__0()\r\n     at JetBrains.Application.Components.DelayedInitializationStrategy.<>c__DisplayClassb.<Dispatch>b__a()\r\n     at JetBrains.Util.Logging.Logger.Catch(Action action)\r\n     at JetBrains.Application.Components.DelayedInitializationStrategy.<Dispatch>b__9()\r\n     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)\r\n     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)\r\n     at JetBrains.Application.Components.DelayedInitializationStrategy.<Dispatch>b__8()\r\n     at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n     at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n     at System.Windows.Threading.DispatcherOperation.InvokeImpl()\r\n     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)\r\n     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n     at System.Windows.Threading.DispatcherOperation.Invoke()\r\n     at System.Windows.Threading.Dispatcher.ProcessQueue()\r\n     at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n     at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n     at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n     at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n     at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n     at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)\r\n     at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)\r\n”\r\n```\r\n\r\nThe solution is set to use x86 and .NET Framework 4.5.1.\r\n\r\nThe exception goes away if I uninstall this extension and VS is able to execute the tests, but I'd prefer ReSharper.\r\n\r\nIs this a problem with the ReSharper RC, this extension or did I do something wrong when updating? The previous setup worked just fine."},"comment":{"url":"https://api.github.com/repos/xunit/resharper-xunit/issues/comments/132448735","html_url":"https://github.com/xunit/resharper-xunit/issues/72#issuecomment-132448735","issue_url":"https://api.github.com/repos/xunit/resharper-xunit/issues/72","id":132448735,"user":{"login":"ljani","id":1334470,"avatar_url":"https://avatars.githubusercontent.com/u/1334470?v=3","gravatar_id":"","url":"https://api.github.com/users/ljani","html_url":"https://github.com/ljani","followers_url":"https://api.github.com/users/ljani/followers","following_url":"https://api.github.com/users/ljani/following{/other_user}","gists_url":"https://api.github.com/users/ljani/gists{/gist_id}","starred_url":"https://api.github.com/users/ljani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljani/subscriptions","organizations_url":"https://api.github.com/users/ljani/orgs","repos_url":"https://api.github.com/users/ljani/repos","events_url":"https://api.github.com/users/ljani/events{/privacy}","received_events_url":"https://api.github.com/users/ljani/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T05:07:35Z","updated_at":"2015-08-19T05:07:35Z","body":"I went home and thus rebooted my computer and the output is fine now. I had previously only restarted VS multiple times. A break is always good for you I guess."}}