While watching NServiceBus video from EVan, I created my first NServiceBus demo application. It’s funny the presenter failed in almost all the demos, my local version works just fine. The difference is I’m using the svn trunk version.
Notes:
- MSMQ must installed.
- Prefer use queueexplorer to moniter msmq.

- Must add <UnicastBusConfig LocalAddress=”yourInputQueueName”> in the version I’m using, to solve the “Format Name is invalid” problem when startup.
- Manually create a NServiceBus.Host.exe.Config file to set scan path.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="EndpointConfigurationTypeScanned" value="C:\work_dir\New folder\NServiceBusDemo\NServiceBusDemo.Processing\bin\Debug\"/>
<!-- or using <add key="EndpointConfigurationType" value="YourNamespace.YourTypeName, YourAssembly"/> -->
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
Pingback: NServiceBus Gotcha - NServiceBus.Host.exe Can’t Locate IConfigureThisEndpoint - sfeldman.NET