Cannot get Resharper to work with VS 2015

Hi, I have been trying to get resharper eap to work with vs 2015 preview, but always get exceptions and cannot use resharper. Also while trying to submit them I get an error.


First exception:
Could not deserialize the object value of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact with the XAML reader. 'Failed to create a 'BestBefore' from the text '12.21.2014 11:52 PL'.' Line number '1' and line position '29'. The string was not recognized as a valid DateTime. There is an unknown word starting at index 17.

--- EXCEPTION #1/4 [FormatException]
Message = “The string was not recognized as a valid DateTime. There is an unknown word starting at index 17.”
ExceptionPath = Root.InnerException.InnerException.InnerException
ClassName = System.FormatException
HResult = COR_E_FORMAT=80131537
Source = mscorlib
StackTraceString = “
  at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
     at System.DateTime.Parse(String s, IFormatProvider provider, DateTimeStyles styles)
     at System.Windows.Markup.DateTimeValueSerializer.ConvertFromString(String value, IValueSerializerContext context)
     at System.Xaml.Replacements.DateTimeConverter2.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
     at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value)
     at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateFromValue(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value, XamlMember property)
     at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo)


--- Outer ---

--- EXCEPTION #2/4 [XamlParseException]
Message = “'Failed to create a 'BestBefore' from the text '12.21.2014 11:52 PL'.' Line number '1' and line position '29'.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.Windows.Markup.XamlParseException
InnerException = “Exception #1 at Root.InnerException.InnerException.InnerException”
HResult = COR_E_SYSTEM=80131501
Source = PresentationFramework
Line = 1
Position = 29
StackTraceString = “
  at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
     at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, Boolean skipJournaledProperties, Uri baseUri)
     at System.Windows.Markup.XamlReader.Load(XamlReader xamlReader, ParserContext parserContext)
     at System.Windows.Markup.XamlReader.Load(XmlReader reader, ParserContext parserContext, XamlParseMode parseMode)
     at System.Windows.Markup.XamlReader.Load(Stream stream, ParserContext parserContext)
     at System.Windows.Markup.XamlReader.Load(Stream stream)
     at JetBrains.Build.Serialization.StructuredStorageSerialization.<ReadObjectValue>b__3(Stream stream)
     at JetBrains.Util.Storage.StructuredStorage.StructuredStorageHelpers.<>c__DisplayClass4`1.<ReadStream>b__3(Stream stream)
     at JetBrains.Util.Storage.StructuredStorage.StructuredStorageHelpers.<>c__DisplayClass1.<ReadStream>b__0(Lifetime lifetime)
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
     at JetBrains.Util.Storage.StructuredStorage.StructuredStorageHelpers.ReadStream(IStructuredStorageStream thіs, Action`1 FRead)
     at JetBrains.Util.Storage.StructuredStorage.StructuredStorageHelpers.ReadStream[TValue](IStructuredStorageCollection`1 thіs, String name, Func`2 FRead)
     at JetBrains.Build.Serialization.StructuredStorageSerialization.ReadObjectValue(Type type, IStructuredStorage storageValue, OnError onerror, IBindTypeByName typebinder)


--- Outer ---

--- EXCEPTION #3/4 [BuildException]
Message = “Could not deserialize the object value of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact with the XAML reader.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Build.BuildException
InnerException = “Exception #2 at Root.InnerException.InnerException”
HResult = COR_E_APPLICATION=80131600
Source = JetBrains.Platform.Util
StackTraceString = “
  at JetBrains.Util.OnError.<.cctor>b__15(Exception ex)
     at JetBrains.Util.OnError.Handle(Exception ex)
     at JetBrains.Build.Serialization.StructuredStorageSerialization.ReadObjectValue(Type type, IStructuredStorage storageValue, OnError onerror, IBindTypeByName typebinder)
     at JetBrains.Build.Serialization.StructuredStorageSerialization.ReadObjectValue(AssemblyQualifiedTypeName type, IStructuredStorage storageValue, OnError onerror, IBindTypeByName typebinder)
     at JetBrains.Build.Serialization.SerializedValuesResolver.RestoredInstance.GetValueCore()
     at JetBrains.Build.Serialization.SerializedValuesResolver.Instance.GetValue()
     at JetBrains.Application.Components.EnumerableValueResolver.EnumerableComponentDescriptor`1.<GetEnumerator>d__0.MoveNext()


--- Outer ---

--- EXCEPTION #4/4 [LoggerException]
Message = “Could not deserialize the object value of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact with the XAML reader.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #3 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.ILoggerEx.LogInternal(ILogger logger, LoggingLevel level, Exception ex, ExceptionOrigin exceptionOrigin, String comment)
     at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment)
     at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception exception, ExceptionOrigin origin, String comment)
     at JetBrains.Util.Logging.Logger.LogException(Exception ex)
     at JetBrains.Application.Components.EnumerableValueResolver.EnumerableComponentDescriptor`1.<GetEnumerator>d__0.MoveNext()
     at JetBrains.Application.Components.EnumerableValueResolver.EnumerableComponentDescriptor`1.GetValue()
     at JetBrains.Build.Serialization.SerializedValuesResolver.Resolve(Type type)
     at JetBrains.Build.Serialization.SerializedValuesResolver.Resolve[TComponent]()
     at JetBrains.Build.Serialization.SerializedValuesResolver.ResolveMultiple[TComponent]()
     at JetBrains.Application.Environment.HostParameters.FullPartCatalogFromSerializedComponentsHostMixin.JetBrains.Application.Environment.HostParameters.IHaveFullPartCatalogSetHostMixin.GetFullPartCatalogSet(Lifetime lifetime)
     at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.GetFullPartCatalogSet(Lifetime lifetime)
     at JetBrains.Application.Environment.JetEnvironment..ctor(Lifetime lifetime, JetHostParametersCaller host)
     at JetBrains.Application.Environment.JetEnvironment.<>c__DisplayClasse.<InternalCreate>b__b()
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
     at JetBrains.Application.Environment.JetEnvironment.InternalCreate(LifetimeDefinition lifetimeDefinition, JetHostParametersCaller host, JetEnvironment& environment)
     at JetBrains.Application.Environment.JetEnvironment.<>c__DisplayClass9.<CreateDontRun>b__7()
     at JetBrains.DataFlow.Lifetime.AddBracket(Action FOpening, Action FClosing)
     at JetBrains.Application.Environment.JetEnvironment.CreateDontRun(Lifetime lifetime, JetHostParameters hostparams)
     at JetBrains.VsIntegration.Shell.Package.VsPackage.Init_CreateHostAndEnvironment(Lifetime lifetime, IServiceProvider site, VsPackageCommandTargetHandlers commandTargetHandlers)
     at JetBrains.VsIntegration.Shell.Package.VsPackage.<.ctor>b__3(Lifetime lifeHaveSite, IServiceProvider site)
     at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass2e`1.<>c__DisplayClass30.<ForEachValue>b__2d(Lifetime lifetimeValue)
     at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass6.<Next>b__5(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__DisplayClass2e`1.<ForEachValue>b__2c(PropertyChangedEventArgs`1 args)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value)
     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.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)

Second exception:
Could not start the Environment.

--- EXCEPTION #1/2 [AssertionException]
Message = “Could not start the Environment.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.Util
StackTraceString = “
  at JetBrains.Util.Assertion.Fail(String message)
     at JetBrains.Util.Assertion.NotNull[T](T value, String message)
     at JetBrains.VsIntegration.Shell.Package.VsPackage.Init_CreateHostAndEnvironment(Lifetime lifetime, IServiceProvider site, VsPackageCommandTargetHandlers commandTargetHandlers)
     at JetBrains.VsIntegration.Shell.Package.VsPackage.<.ctor>b__3(Lifetime lifeHaveSite, IServiceProvider site)
     at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass2e`1.<>c__DisplayClass30.<ForEachValue>b__2d(Lifetime lifetimeValue)
     at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass6.<Next>b__5(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__DisplayClass2e`1.<ForEachValue>b__2c(PropertyChangedEventArgs`1 args)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Could not start the Environment.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Util.ILoggerEx.LogInternal(ILogger logger, LoggingLevel level, Exception ex, ExceptionOrigin exceptionOrigin, String comment)
     at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment)
     at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception exception, ExceptionOrigin origin, String comment)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value)
     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.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)

4 comments
Comment actions Permalink

Hello,

Could not deserialize the object value of type
JetBrains.Application.BuildScript.Application.ApplicationPackageArtifa
ct with the XAML reader. 'Failed to create a 'BestBefore' from the
text '12.21.2014 11:52 PL'.' Line number '1' and line position '29'.
The string was not recognized as a valid DateTime. There is an unknown
word starting at index 17.


Could you try setting your machine locale to en-us for a while? If you rerun
the installer, R# should be running OK after that. Or so I believe.

We got this pinned down and it's now being fixed. Thanks for reporting the
issue.

For better understanding the context, were there any changes to machine or
user account configuration in between running the installer and running R#?
Like, changing user locale, date formatting settings, installing major updates,
something like that.


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


0
Comment actions Permalink

Hi, I changed my locale before installing latest eap, but still same errors occure.I have not made any changes to my system between installing and running. Also same thing happens on my different computer.

0
Comment actions Permalink

Hello C K

  Please try doing the following:

  - Change locale in Control Panel | Change date, time, or number format | Select "English (United States)" in "Format" combobox;
  - Run "Repair" for all JB products which installed to Visual Studio (just run installer once again and select Repair there);
  - Wait for it is completed;
  - Run Visual Studio and wait for ReSharper is completely loaded;
  - Close Visual Studio;
  - Then you may change locale back to previous one.

Thanks!

0
Comment actions Permalink

Hello,

EAP10 has fixes for that.


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


0

Please sign in to leave a comment.