I have a c# application which uses SharpSVN dll and NServicebus dll,it compile fine but when it is executing(in the time of initialize the bus) it throw the following error
Could not load file or assembly 'file:///C:\Repositories\Repo\hooks\SharpSvn-DB44-20-Win32.dll' or one of its dependencies. The module was expected to contain an assembly manifest.
How can I solve the above problem.
Thank in advance Susanta
Exclude the sharpsvn dlls from the NServiceBus assemblyscanning by configuring NSB with a explicit list of assemblies toi scan:
Configure.With("List of your assemblies that contain messagehandlers")...
Make sure to include NServiceBus.core.dll in the list if you're using the Saga feature.
Hope this helps!