By default, messaging best practices are enforced for messages defined as either commands or events. For example, NServiceBus throws an exception when an endpoint tries to publish a command or send an event.
Disable the enforcement for the whole endpoint using:
var transport = endpointConfiguration.UseTransport<TransportName>();
var routing = transport.Routing();
routing.DoNotEnforceBestPractices();
or for a single operation using the options of that message:
var options = new SendOptions();
options.DoNotEnforceBestPractices();
await context.Send(new MyEvent(), options);