ReSharper 8.2.3 аварийно завершает работу при запуске Visual Studio 2008

Когда я запускаю свою Visual Studio 2008 с ReSharper 8.2.3 с помощью переключателя /Log, я вижу в созданном файле журнала, что ReSharper генерирует несколько исключений. Я не могу использовать VS для изменения каких-либо файлов (ввод не деактивирован, но он игнорирует любой ввод не-ascii). Как только я деактивирую ReSharper, все возвращается на круги своя.

devenv.exe /Resharper.LogFile /Resharper.LogLevel Подробный вывод:

[отрезано - подробная информация о запуске и журналирование потоков ....]

11:18:06 AM.510: Thread:1: [VsShortcutManager] CurrentInputLanguage: de-CH (Swiss German)
11:18:06 AM.510: Thread:1: [VsShortcutManager] DefaultInputLanguage: en-US (US)
11:18:06 AM.579: Thread:1: EXCEPTION: Culture ID 8192 (0x2000) is not a supported culture. Parameter name: culture
Culture ID 8192 (0x2000) is not a supported culture. Parameter name: culture

--- EXCEPTION #1/2 [ArgumentException]
Message = “Culture ID 8192 (0x2000) is not a supported culture.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = COR_E_ARGUMENT=E_INVALIDARG=80070057
Source = mscorlib
ParamName = culture
StackTraceString = “
  at System.Globalization.CultureTableRecord.GetCultureTableRecord(Int32 cultureId, Boolean useUserOverride)
     at System.Globalization.CultureInfo..ctor(Int32 culture, Boolean useUserOverride)
     at System.Windows.Forms.InputLanguage.get_Culture()
     at JetBrains.VsIntegration.ActionManagement.VsShortcutManager.<OnBeforeBulkShortcutsChange>b__d(InputLanguage lang)
     at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
     at System.Linq.Enumerable.Aggregate[TSource,TAccumulate,TResult](IEnumerable`1 source, TAccumulate seed, Func`3 func, Func`2 resultSelector)
     at JetBrains.Util.CollectionUtil.AggregateString[TSource,TResult](IEnumerable`1 source, StringBuilder seed, String separator, Func`3 funcAppend, Func`2 funcConvert)
     at JetBrains.Util.CollectionUtil.AggregateString[TSource](IEnumerable`1 source, String separator, Func`3 funcAppend)
     at JetBrains.VsIntegration.ActionManagement.VsShortcutManager.OnBeforeBulkShortcutsChange()
     at JetBrains.VsIntegration.ActionManagement.VsActionLoader.OnBeforeLoadActions(ICollection`1 infos)
     at JetBrains.ActionManagement.ActionLoader.ActionLoader.Init_ActionXmlsAndHandlersFromAssemblies_Load(List`1 actionxmls, ICollection`1 actionhandlers, IApplicationDescriptor applicationDescriptor, IDictionary`2 mapIconClasses)
     at JetBrains.ActionManagement.ActionLoader.ActionLoader.<>c__DisplayClass10.<>c__DisplayClass14.<Init_ActionXmlsAndHandlersFromAssemblies>b__e()
     at JetBrains.DataFlow.Lifetime.AddBracket(Action FOpening, Action FClosing)
     at JetBrains.ActionManagement.ActionLoader.ActionLoader.<>c__DisplayClass10.<Init_ActionXmlsAndHandlersFromAssemblies>b__9(Lifetime lifetimeCatalog, IPartsCatalogue catalog)
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass15`1.<>c__DisplayClass19.<ForEachItemCore>b__13()
     at JetBrains.Util.Logging.Logger.Catch(Action action)
”

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “
  Culture ID 8192 (0x2000) is not a supported culture.
  Parameter name: culture
”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.Logging.Logger.LogException(Exception ex)
     at JetBrains.Util.Logging.Logger.Catch(Action action)
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass15`1.<ForEachItemCore>b__12(AddRemoveEventArgs`1 args)
     at JetBrains.DataFlow.CollectionEvents`1.OnAcknowledgeSinkAddRemove(Action`1 handler, AddRemove addremove)
     at JetBrains.DataFlow.CollectionEvents`1.<.ctor>b__0(Action`1 handler)
     at JetBrains.DataFlow.Infra.SignalWithDelegates`1.OnAfterAdvise(Action`1 handler)
     at JetBrains.DataFlow.Signal`1.<>c__DisplayClass2.<AdviseCore>b__0()
     at JetBrains.DataFlow.Lifetime.AddBracket(Action FOpening, Action FClosing)
     at JetBrains.DataFlow.Signal`1.AdviseCore(Action`1 handler, Lifetime lifetime)
     at JetBrains.DataFlow.Signal`1.Advise(Lifetime lifetime, Action`1 handler)
     at JetBrains.DataFlow.ICollectionEventsEx.ForEachItemCore[TValue](ICollectionEvents`1 thіs, Lifetime lifetime, Action`2 FHandlerA, Action`3 FHandlerB)
     at JetBrains.DataFlow.ICollectionEventsEx.ForEachItem[TValue](ICollectionEvents`1 thіs, Lifetime lifetime, Action`2 FHandler)
     at JetBrains.DataFlow.CollectionEvents`1.View(Lifetime lifetime, Action`2 viewer)
     at JetBrains.ActionManagement.ActionLoader.ActionLoader.Init_ActionXmlsAndHandlersFromAssemblies(IPartsCatalogueSet catalogSet, IApplicationDescriptor applicationDescriptor)
     at JetBrains.VsIntegration.ActionManagement.VsActionLoader..ctor(Lifetime lifetime, VsActionManager actionManager, VsShortcutManager shortcutManager, IPartsCatalogueSet catalogSet, IApplicationDescriptor applicationDescriptor, ProductConfigurations productConfigurations, DTE dte)
     at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
     at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
     at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)
     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)
     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)
     at JetBrains.Application.Components.SingletonDescriptor.GetValue()
     at JetBrains.Application.Components.SignatureResolution.BindArguments(List`1 argumentDescriptors)
     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)
     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)
     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)
     at JetBrains.Application.Components.SingletonDescriptor.GetValue()
     at JetBrains.Application.Components.SignatureResolution.BindArguments(List`1 argumentDescriptors)
     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)
     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)
     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)
     at JetBrains.Application.Components.SingletonDescriptor.GetValue()
     at JetBrains.Application.Components.SignatureResolution.BindArguments(List`1 argumentDescriptors)
     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)
     at JetBrains.Application.Extensibility.PartComponentDescriptor.CreateInstance(IValueResolveContext context)
     at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)
     at JetBrains.Application.Components.SingletonDescriptor.GetValue()
     at JetBrains.Application.Components.ComponentStorage.InstantiateDescriptors(IEnumerable`1 descriptors)
     at JetBrains.Application.Components.ComponentStorage.ComposeDescriptors(ICollection`1 descriptors)
     at JetBrains.Application.Components.ComponentStorage.Compose()
     at JetBrains.Application.Components.ComponentContainer.Compose()
     at JetBrains.Application.Env.RunsProducts.RunProduct(Lifetime lifetimeProduct, IApplicationDescriptor product, IEnumerable`1 enumProgramConfigurationsProviders, JetEnvironment environment, IDictionaryEvents`2 productsNonComposed, IDictionaryEvents`2 productsComposed)
     at JetBrains.Application.Env.RunsProducts.<>c__DisplayClass19.<Init_RunWhenAllowed>b__18(Lifetime lifetimeProduct, IApplicationDescriptor product)
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass15`1.<>c__DisplayClass19.<ForEachItemCore>b__13()
     at JetBrains.Util.Logging.Logger.Catch(Action action)
     at JetBrains.DataFlow.ICollectionEventsEx.<>c__DisplayClass15`1.<ForEachItemCore>b__12(AddRemoveEventArgs`1 args)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.CollectionEvents`1.FireAddRemove(AddRemove action, TValue value, Object cookie)
     at JetBrains.DataFlow.CollectionEvents`1.InternalAdd(TValue value, Object cookie)
     at JetBrains.DataFlow.CollectionEvents`1.Add(TValue value, Object cookie)
     at JetBrains.DataFlow.ICollectionEventsEx.Add[TValue](ICollectionEvents`1 thіs, Lifetime lifetime, TValue value, Object cookie)
     at JetBrains.Application.Env.RunsProducts.<>c__DisplayClass7.<>c__DisplayClass9.<Init_CollectProductsAllowedToRun>b__5(Lifetime lifeVerdict, ProductCanBeStartedVerdict verdict)
     at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass26`1.<>c__DisplayClass28.<ForEachValue>b__25(Lifetime lifetimeValue)
     at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass3.<Next>b__2(LifetimeDefinition definition, Lifetime lifetime)
     at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILogger logger)
     at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)
     at JetBrains.DataFlow.SequentialLifetimes.Next(Action`1 FNext)
     at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass26`1.<ForEachValue>b__24(PropertyChangedEventArgs`1 args)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
     at JetBrains.DataFlow.Property`1.set_Value(TValue value)
     at JetBrains.Application.ComposeVerdictWithPriority.UpdateActiveTellers[TVerdict](Lifetime lifetimeComponent, List`1 tellers, IProperty`1 propComposite)
     at JetBrains.Application.ComposeVerdictWithPriority.<>c__DisplayClassc`1.<UpdateActiveTellers>b__a()
     at JetBrains.DataFlow.IPropertySignalEx.<>c__DisplayClass1f`1.<Advise_NoAcknowledgement>b__1e(PropertyChangedEventArgs`1 args)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
     at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClasse`2.<FlowInto>b__d(PropertyChangedEventArgs`1 args)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
     at JetBrains.Application.DataFlowEx.<>c__DisplayClass23`1.<FlowIntoGuarded_NoReplay>b__22()
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action)
     at JetBrains.Application.DataFlowEx.<>c__DisplayClass23`1.<FlowIntoGuarded_NoReplay>b__21()
     at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass1`1.<Advise>b__0(TValue value)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
     at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
     at JetBrains.VsIntegration.Application.VsNonZombiedProductCanBeStarted.<>c__DisplayClass4.<.ctor>b__0()
     at JetBrains.VsIntegration.Application.VsNonZombiedProductCanBeStarted.<>c__DisplayClass4.<.ctor>b__2(VSSPROPID vsspropid, Object o)
     at JetBrains.VsIntegration.Interop.Shim.Shell.IVsShell.ShellPropertyChangesSink.Microsoft.VisualStudio.Shell.Interop.IVsShellPropertyEvents.OnShellPropertyChange(Int32 propid, Object var)
”

[отрезано - в журнале было еще много исключений....]

Любая идея, что вызывает это? Или как я могу это исправить?


person froeschli    schedule 31.10.2017    source источник
comment
Связанный? social.msdn.microsoft.com/Forums/vstudio/en-US/   -  person jessehouwing    schedule 31.10.2017
comment
Спасибо, @jessehouwing, я сам был на этом сайте и не вижу в этом ценности. Я работаю с Windows 10 (версия 1703), а не с Windows (Server) 2003. Кроме того, в этом списке идентификаторов культуры (и в связанном более обширном списке) я не могу найти зловещий идентификатор культуры 8192.   -  person froeschli    schedule 31.10.2017


Ответы (1)


Кто бы мог подумать, что решение настолько простое. Я смутно припоминаю, что перед отъездом в отпуск установил в своей системе новый языковой стандарт. После возвращения из упомянутого отпуска началось явление, описанное в вопросе.

Решение

  1. Удалите языковой стандарт en-CH (английский, Швейцария) и установите по умолчанию en-US.
  2. Перезагрузите компьютер.
  3. Проблема решена.
person froeschli    schedule 01.11.2017