AI agents: use the documentation index at llms.txt to locate machine-readable pages. This section is indexed by https://docs.particular.net/nservicebus/llms.txt. The markdown version of this page is served as plain text. An MCP server at /mcp serves the same content via the search_docs and read_doc tools; it is read-only and needs no credentials. Markdown versions of documentation pages are available by appending .md to the page URL. Directory URLs use index.md. They are served as text/plain because some retrieval backends reject text/markdown.

No Endpoint Configuration Found in Scanned Assemblies

Component:
NServiceBus Host

As the exception states, NServiceBus was not able to find the endpoint configuration, i.e., an implementation of IConfigureThisEndoint.

The exception might be thrown by NServiceBus.Host.exe, the NServiceBus generic host.

Here are possible causes for this exception:

  • There is no implementation of IConfigureThisEndpoint.
  • The class implementing IConfigureThisEndpoint is not public.
  • More than one implementation of IConfigureThisEndpoint exists.
  • The NServiceBus.Host.exe finds more than one assembly containing an implementation of IConfigureThisEndpoint in the directory (including subdirectories) where it is running.
  • In one Visual Studio solution, different assemblies are referencing different NServiceBus versions, and those assemblies reference each other.
    • For example, the messages-assembly is compiled against an NServiceBus version different from the endpoint assembly that references it.