Hi everyone,
We’ve just released NServiceBus 8.1.3, 7.8.4, and 8.0.5.
Fixed bugs
- #6837 Assemblies with names containing dots and excluded from scanning without file extensions are not excluded from assembly scanning
How to know if you are affected
The bug is a regression introduced in the recently released NServiceBus 8.1.2, 8.0.4, and 7.8.3 patches.
You are affected if:
- You are using NServiceBus 8.1.2, 8.0.4, or 7.8.3
- You are excluding assemblies with names containing dots without specifying their file extensions, for example
.ExcludeAssemblies("MyCompany.MyAssembly")
instead of.ExcludeAssemblies("MyCompany.MyAssembly.dll")
Symptoms
The part in the assembly name after the last dot is treated as a file extension, which prevents the assembly from being excluded. For example, specifying .ExcludeAssemblies("MyCompany.MyAssembly")
excludes MyCompany.dll
and MyCompany.exe
instead of MyCompany.MyAssembly.dll
and MyCompany.MyAssembly.exe
.
When to upgrade
You should upgrade immediately if you are affected.
Where to get it
You can install the new versions of NServiceBus from NuGet.
With thanks,
The team in Particular
Please read our release policy for more details.