Error using nservicebus with nettiers

Posted by Darren on Stack Overflow See other posts from Stack Overflow or by Darren
Published on 2010-04-01T13:26:38Z Indexed on 2010/04/01 13:33 UTC
Read the original article Hit count: 513

Filed under:
|

I'm using the nservicebus springbuilder(below) with compiles and runs fine. However once I add a single DataRepository entry in the code to call nettiers the project compiles but throws an exception on the line below:

IBus Bus = Configure.With().SpringBuilder() .XmlSerializer() .MsmqTransport() .IsTransactional(true) .PurgeOnStartup(false) .UnicastBus() .ImpersonateSender(false) .LoadMessageHandlers() .CreateBus() .Start();

Exception:

{"Could not load file or assembly 'Microsoft.Practices.Unity, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.":"Microsoft.Practices.Unity, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"}

© Stack Overflow or respective owner

Related posts about nservicebus

Related posts about nettiers