Particular / NServiceBus

Build, version, and monitor better microservices with the most powerful service platform for .NET
https://particular.net/nservicebus/
Other
2.09k stars 648 forks source link

Reduce dependencies for net 6 #7002

Closed thompson-tomo closed 6 months ago

thompson-tomo commented 6 months ago

Is your feature request related to a problem? Please describe. I want to minimise dependencies in my project by utilising framework dependencies wherever possible

Describe the solution you'd like System.Text.Json can be provided via the framework ie net 6 as such conditions should be placed on it so that it is only included for net framework. Other dependencies can be optimised.

Describe alternatives you've considered Accept the additional dependency

Additional context n/a

awright18 commented 6 months ago

Thanks for your feedback. The engineering team has previously considered this option, and concluded that relying on different dependencies based on the target framework doesn't align with our practices for managing dependencies. However, the next major version of NServiceBus, which will be released soon, does remove this external dependency on System.Text.Json.