NServiceBus.Unity - Patch releases available

Hi everyone,

We’ve just released NServiceBus.Unity 8.1.4 and 9.0.1.

Fixed bugs

  • #100 Compiler error on unreferenced assembly after upgrading Unity

How to know if you are affected

You are affected after updating the Unity container package to version 5.9.0 or later.


After updating the Unity container package, the compiler displays the following error:

[CS0012] The type 'IUnityContainer' is defined in an assembly that is not referenced. You must add a reference to assembly 'Unity.Abstractions, Version=, Culture=neutral, PublicKeyToken=6d32ff45e0ccc69f'.

Should you upgrade immediately

This patch restricts the version range of the Unity container package to exclude versions 5.9.0 and above. We recommend upgrading current development branches immediately, to avoid this issue when updating NuGet package dependencies.

Additional notes

Unity container 5.9.0 contains breaking changes, so in order for NServiceBus to support it, a new version of NServiceBus.Unity is required. We are currently working on a new version of NServiceBus.Unity which will support Unity container 5.9.0.

Where to get it

You can download the updated version directly via NuGet: NuGet Gallery | NServiceBus.Unity 11.0.0

With thanks,
The team in Particular

Please read our release policy for more details. Follow @ParticularNews to be notified of new releases and bug fixes.