I see all sample from nServiceBus to be a standalone process, so can it be integrated with winform? if yes, where can i find samples?
If you want the generic host to run as a winform you need to pass it /gui on the command line.
Udi,
In VB.net the line bus = NServiceBus.Configure.With() .SpringBuilder() .XmlSerializer() .MsmqTransport() .PurgeOnStartup(true) .UnicastBus() .LoadMessageHandlers() .CreateBus() .Start()
does not work, compiler error Error 1 Reference required to assembly 'NServiceBus, Version=2.0.0.963, Culture=neutral, PublicKeyToken=9fc386479f8a226c' containing the type 'NServiceBus.IStartableBus'. Add one to your project. c:\users\simonxps\documents\visual studio 2010\Projects\TestNServiceBus\TestNServiceBusClient\Form1.vb 20 15 TestNServiceBusClient
Obviously I have a reference to the NsericeBus.dll
Any ideas
I'm getting this same error in a vb.net app - did you find a solution?