skwasjer / rebus.serviceprovider.named Goto Github PK
View Code? Open in Web Editor NEWProvides named bus instance support for Rebus, enabling hosting of multiple instances.
License: Apache License 2.0
Provides named bus instance support for Rebus, enabling hosting of multiple instances.
License: Apache License 2.0
When we upgraded our current .net5 project to .net5, we started getting these errors (since MS.DI.Abstractions packages of 6.xx released for .net6)
[NU1608] Detected package version outside of dependency constraint: Rebus.ServiceProvider 6.2.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0.0 && < 6.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 6.0.0 was resolved.
Then I tried to upgrade Rebus packages to latest versions:
After upgrading, the application crashes at startup:
[15:41:43 INF - ] Stockyard API is started..
Application startup exception: System.TypeLoadException: Could not load type 'Rebus.ServiceProvider.ServiceCollectionExtensions' from assembly 'Rebus.ServiceProvider, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null'.
at Rebus.ServiceProvider.Named.NamedBusFactory.CreateBusStarter(NamedBusOptions busOptions)
at Rebus.ServiceProvider.Named.NamedBusFactory.GetStarter(String name)
at Rebus.ServiceProvider.Named.ApplicationBuilderExtensions.UseNamedRebus(IApplicationBuilder applicationBuilder, String name, Action1 configureBus) at Rebus.ServiceProvider.Named.ApplicationBuilderExtensions.UseNamedRebus(IApplicationBuilder applicationBuilder, String name) at BusConfigurator.BusRegistrar.Configure(IApplicationBuilder app) at Stockyard.API.StartupConfiguration.AzureServiceBusConfigurator.Configure(IApplicationBuilder app, IWebHostEnvironment env) in C:\Workspace\_GithubEnterprise\Stockyard\stockyard-backend\src\Stockyard.API\StartupConfiguration\Az ureServiceBusConfigurator.cs:line 27 at Stockyard.API.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory) in C:\Workspace\_GithubEnterprise\Stockyard\stockyard-backend\src\Stockyard.API\Startup.cs:line 122 at System.RuntimeMethodHandle.InvokeMethod(Object target, Span
1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.b__0(IApplicationBuilder builder)
at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.b__0(IApplicationBuilder app)
at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication()
AFAIK, Rebus.ServiceProvider.Named library is incopatible with Rebus.ServiceProvider
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.