OrleansContrib / Orleans.Providers.MongoDB

A MongoDb implementation of the Orleans Providers: Membership, Storage and Reminders.
MIT License
105 stars 44 forks source link

2.0.0 compatibility #43

Closed bboyle1234 closed 6 years ago

bboyle1234 commented 6 years ago

The following error message was observed in a project that referenced the following packages: Microsoft.Orleans, 2.0.0 Orleans.Providers.MongoDB, 2.0.0-rc6

Do we need to release a new version that is compatible with Orleans 2.0.0?

-       InnerException  {System.MissingMethodException: Method not found: 'System.Guid Orleans.Configuration.ClusterOptions.get_ServiceId()'.
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
   at Orleans.Runtime.Silo.<InjectDependencies>d__66.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Orleans.Runtime.Silo.<StartAsyncTaskWithPerfAnalysis>d__69.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Orleans.Runtime.Silo.<OnRuntimeServicesStart>d__70.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Orleans.Runtime.SiloLifecycleSubject.MonitoredObserver.<OnStart>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Orleans.LifecycleSubject.<WrapExecution>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Orleans.LifecycleSubject.<OnStart>d__4.MoveNext()}    System.Exception {System.MissingMethodException}
bboyle1234 commented 6 years ago

Hmm, looks like this has already been done in code ... are we waiting on a release to nuget?

image

SebastianStehle commented 6 years ago

I can make the release this afternoon. Its 9 am here. I was short in time due public holiday.

bboyle1234 commented 6 years ago

@SebastianStehle Fantastic, thank you.