I’ve followed the NServiceBus getting started guide to the letter, with the only change made was to add properties to my message class.
When I try to run it, I get:
Type [my type] was not registered in the serializer.
Check that it appears in the list of configured assemblies/types to scan.
I have followed the guidance on http://docs.particular.net/nservicebus/serialization/type-was-not-registered but this hasn’t helped at all. After clearing the folders, doing a clean and rebuilding I still have the same problem, with the exception firing when the generated INServiceBusComponent class calls Bus.Send.
Anyone have any ideas for things I can try here?
Answer provided by dtryon – adding IMessage fixed this.