Giter Site home page Giter Site logo

rebus.serviceprovider.named's People

Contributors

skwasjer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rebus.serviceprovider.named's Issues

.net6 upgrade application crashes: Incompatible with .net6/Rebus 7.xx packages

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.
MicrosoftTeams-image (7)

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, Span1& 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.