As the exception states, NServiceBus was not able to find the endpoint configuration, i.e., an implementation of
The exception might be thrown by NServiceBus.Host.Exe, the NServiceBus generic host.
Following are possible causes for this exception:
- There is no implementation of
- The class implementing
IConfigureThisEndpointis not public.
- More than one implementation of
- NServiceBus.Host.Exe is scanning the directory (and sub-directories) from where it is running, and finds more than one assembly implementing
- In the one Visual Studio solution there are different assemblies referencing different NServiceBus versions, and those assemblies reference each other.
For example, the messages assembly is compiled against an NServiceBus version that is different from the endpoint assembly that references it.