Assembly Scanning Changes in NServiceBus Version 6

Component: NServiceBus

Nested directories not scanned by default

The default behavior of version 6 is to not scan nested directories for assemblies. This behavior can be re-enabled using the assembly scanning API.

Scanning uses an "exclude" approach

The API has been changed to an "exclude a list" approach. See Assemblies to scan for more information.

6.x NServiceBus
var scanner = endpointConfiguration.AssemblyScanner();
5.x NServiceBus
var excludesBuilder =

Related Articles

Last modified