[1602] Features are disabled under VS2008

R#'s features are disabled after I've installed 1602.  In previous versions I could unload and reload R# from VS Tools | Add-in Manager, but this is no longer available.  Is there anything else I can try?

3 comments
Comment actions Permalink

I also get the following exception (JIRA not allowing submit right now):

An item with the same key has already been added.

--- EXCEPTION #1/2 [ArgumentException]
Message = “An item with the same key has already been added.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = COR_E_ARGUMENT=E_INVALIDARG=80070057
Source = mscorlib
StackTraceString = “
  at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
     at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
     at JetBrains.UI.Application.PluginSupport.PluginManager.JetBrains.Util.IXmlExternalizable.ReadFromXml(XmlElement element) in c:\Agent\work\cc29ccea5bf569df\Platform\src\UI\src\Shell\PluginSupport\PluginManager.cs:line 254
     at JetBrains.ComponentModel.XmlExternalizableComponentContainer.ComponentReadFromXmlBag_TrySettingsElement(IXmlExternalizableComponent component) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ComponentModel\XmlExternalizableComponentContainer.cs:line 181
     at JetBrains.ComponentModel.XmlExternalizableComponentContainer.ComponentReadFromXmlBag(IXmlExternalizableComponent component) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ComponentModel\XmlExternalizableComponentContainer.cs:line 100
     at JetBrains.ComponentModel.XmlExternalizableComponentContainer.InitializeComponent(IComponent component) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ComponentModel\XmlExternalizableComponentContainer.cs:line 397
     at JetBrains.ComponentModel.ComponentContainer.InitializeComponentIfNeeded(ComponentInstanceData data, OnError onerror) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 282


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “An item with the same key has already been added.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ComponentModel.ComponentContainer.InitializeComponentIfNeeded(ComponentInstanceData data, OnError onerror) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 298
     at JetBrains.ComponentModel.ComponentContainer.TryGetComponentByImplType(Type implType) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 511
     at JetBrains.ComponentModel.ComponentContainer.OnAdd_Logical(IEnumerable`1 items) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 322
     at JetBrains.ComponentModel.ComponentContainer.JetBrains.ComponentModel.ICollectionChangedEventSink<JetBrains.ComponentModel.ComponentDescriptor>.OnAdd(ICollection`1 itemsRaw) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 583
     at JetBrains.ComponentModel.ComponentDeclarationsCache.AdviseComponentDeclarationsCollectionChange(ICollectionChangedEventSink`1 sink) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ComponentModel\ComponentDeclarationsCache.cs:line 48
     at JetBrains.ComponentModel.ComponentContainer.InitializeComponents(ComponentDeclarationsCache declarationscache) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ComponentModel\ComponentContainer.cs:line 154
     at JetBrains.Application.ShellBase.InitializeComponents(ComponentDeclarationsCache declarationscache) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ShellBase.cs:line 345
     at JetBrains.Application.ShellBase.InitializeComponents() in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ShellBase.cs:line 281
     at JetBrains.UI.Application.UIApplicationShell.InitializeComponents() in c:\Agent\work\cc29ccea5bf569df\Platform\src\UI\src\Shell\UIApplicationShell.cs:line 630
     at JetBrains.UI.Application.UIApplicationShell.Startup() in c:\Agent\work\cc29ccea5bf569df\Platform\src\UI\src\Shell\UIApplicationShell.cs:line 590
     at JetBrains.VsIntegration.Application.VSShell.Startup() in c:\Agent\work\cc29ccea5bf569df\Platform\src\VSIntegration\src\Shell\VSShell.cs:line 434
     at JetBrains.VsIntegration.Customization.VsShellStarter.StartShell() in c:\Agent\work\cc29ccea5bf569df\Platform\src\VSIntegration\src\Customization\VsShellStarter.cs:line 105
     at JetBrains.ReSharper.VS.Customization.ReSharperApplicationDescriptor.StartShell(VsPackage package) in c:\Agent\work\cc29ccea5bf569df\src\VS\src\Customization\ReSharperApplicationDescriptor.cs:line 121
     at JetBrains.VsIntegration.Package.VsPackage.<Init_StartShell>b__19() in c:\Agent\work\cc29ccea5bf569df\Platform\src\VSIntegration\src\Package\VsPackage.cs:line 355
     at JetBrains.Application.ShellBase.<>c__DisplayClassd.<RestartShell>b__5() in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ShellBase.cs:line 239
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 253
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 286
     at JetBrains.Application.ShellBase.<>c__DisplayClassd.<RestartShell>b__4() in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ShellBase.cs:line 230
     at JetBrains.Application.ShellBase.RestartShell(IApplicationDescriptor descriptor, Func`1 FDoStart) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Shell\src\ShellBase.cs:line 249
     at JetBrains.VsIntegration.Package.VsPackage.<Init_StartShell>b__18() in c:\Agent\work\cc29ccea5bf569df\Platform\src\VSIntegration\src\Package\VsPackage.cs:line 355
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass40`1.<Advise_RaisingFront>b__3f(PropertyChangedEventArgs`1 args) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Extension\ISignalEx.cs:line 391
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Signal!1.cs:line 316
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Signal!1.cs:line 475
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Property!1.cs:line 167
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Property!1.cs:line 449
     at JetBrains.DataFlow.PropertyBinding`2.CopySourceToTarget() in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\PropertyBinding!2.cs:line 280
     at JetBrains.DataFlow.PropertyBinding`2.OnSourceValueChanged() in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\PropertyBinding!2.cs:line 257
     at JetBrains.DataFlow.Signal`1.<>c__DisplayClasse.<Advise>b__d(TValue ) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Signal!1.cs:line 412
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Signal!1.cs:line 316
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Signal!1.cs:line 475
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Property!1.cs:line 167
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Property!1.cs:line 449
     at JetBrains.DataFlow.CompositeProperty`3.OnAnySourceChanged() in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\CompositeProperty!3.cs:line 109
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass34`1.<Advise_NoAcknowledgement>b__33(PropertyChangedEventArgs`1 args) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Extension\ISignalEx.cs:line 316
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Signal!1.cs:line 316
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Signal!1.cs:line 475
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Property!1.cs:line 167
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Property!1.cs:line 449
     at JetBrains.DataFlow.PropertyBinding`2.CopySourceToTarget() in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\PropertyBinding!2.cs:line 280
     at JetBrains.DataFlow.PropertyBinding`2.OnSourceValueChanged() in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\PropertyBinding!2.cs:line 257
     at JetBrains.DataFlow.Signal`1.<>c__DisplayClasse.<Advise>b__d(TValue ) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Signal!1.cs:line 412
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Signal!1.cs:line 316
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Signal!1.cs:line 475
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Property!1.cs:line 167
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie) in c:\Agent\work\cc29ccea5bf569df\Platform\src\Util\src\DataFlow\Property!1.cs:line 449
     at JetBrains.VsIntegration.Package.VsPackage.<>c__DisplayClass14.<>c__DisplayClass16.<Init_SizeNonZombied>b__11() in c:\Agent\work\cc29ccea5bf569df\Platform\src\VSIntegration\src\Package\VsPackage.cs:line 325
     at JetBrains.VsIntegration.Package.VsPackage.<>c__DisplayClass14.<>c__DisplayClass16.<Init_SizeNonZombied>b__13(VSSPROPID vsspropid, Object o) in c:\Agent\work\cc29ccea5bf569df\Platform\src\VSIntegration\src\Package\VsPackage.cs:line 334
     at JetBrains.VsIntegration.Interop.Shim.Shell.IVsShell.ShellPropertyChangesSink.Microsoft.VisualStudio.Shell.Interop.IVsShellPropertyEvents.OnShellPropertyChange(Int32 propid, Object var) in c:\Agent\work\cc29ccea5bf569df\Platform\src\VSIntegration\src\Interop\Shim\Shell\IVsShell.cs:line 137

0
Comment actions Permalink

Hello,

I think this exception is unrelated. Fixed, anyway.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

Hello,

R#5 is not an Add-In anymore, but rather a first-class package, so there's
no VS-standard unload option for it. We got Suspend/Resume functionality
exposed through, for example, Visual Studio Options dialog. But I do not
think this could really be the case.

Without the add-in, there're much fewer things to fail on startup. Anyway...
Does uninstall+reinstall (repair) help? Is the package listed in Help/About?
Does Visual Studio startup log (see commandline) list any related errors?


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

Please sign in to leave a comment.