ravendb - Could not load type 'GatewayDeduplication' from assembly 'NServiceBus.Core -


i installed ravendb , in configuration did:

public static void configurepersistence(busconfiguration configuration)         {              var defaultstore = new documentstore             {                 url = "http://localhost:8085",                 defaultdatabase = "mytestb"             }              .registerlistener(new uniqueconstraintsstorelistener())             .initialize();              configuration.usepersistence<ravendbpersistence>()                 .donotsetupdatabasepermissions()                 .setdefaultdocumentstore(defaultstore);         } 

when run project seeing below error:

system.reflection.targetinvocationexception: exception has been thrown target of invocation. ---> system.typeloadexception: not load t ype 'gatewaydeduplication' assembly 'nservicebus.core, version=5.0.0.0, culture=neutral, publickeytoken=9fc386479f8a226c'.    @ nservicebus.persistence.ravendbpersistence..ctor()    --- end of inner exception stack trace ---    @ system.runtimetypehandle.createinstance(runtimetype type, boolean publiconly, boolean nocheck, boolean& canbecached, runtimemethodhandleinternal & ctor, boolean& bneedsecuritycheck)    @ system.runtimetype.createinstanceslow(boolean publiconly, boolean skipcheckthis, boolean fillcache, stackcrawlmark& stackmark)    @ system.runtimetype.createinstancedefaultctor(boolean publiconly, boolean skipcheckthis, boolean fillcache, stackcrawlmark& stackmark)    @ system.activator.createinstance(type type, boolean nonpublic)    @ system.activator.createinstance(type type)    @ nservicebus.utils.reflection.extensionmethods.construct[t](type type) in c:\buildagent\work\1b05a2fea6e4cd32\src\nservicebus.core\utils\reflecti on\extensionmethods.cs:line 22    @ nservicebus.persistence.persistencestartup.run(configure config) in c:\buildagent\work\1b05a2fea6e4cd32\src\nservicebus.core\persistence\persist encestartup.cs:line 32    @ nservicebus.configure.<initialize>b__7(iwanttorunbeforeconfigurationisfinalized t) in c:\buildagent\work\1b05a2fea6e4cd32\src\nservicebus.core\c onfigure.cs:line 114    @ nservicebus.configure.<>c__displayclasse`1.<activateandinvoke>b__d(type t) in c:\buildagent\work\1b05a2fea6e4cd32\src\nservicebus.core\configure .cs:line 180    @ system.collections.generic.list`1.foreach(action`1 action)    @ nservicebus.configure.foralltypes[t](ilist`1 types, action`1 action) in c:\buildagent\work\1b05a2fea6e4cd32\src\nservicebus.core\configure.cs:li ne 138    @ nservicebus.configure.activateandinvoke[t](ilist`1 types, action`1 action) in c:\buildagent\work\1b05a2fea6e4cd32\src\nservicebus.core\configure .cs:line 182    @ nservicebus.configure.initialize() in c:\buildagent\work\1b05a2fea6e4cd32\src\nservicebus.core\configure.cs:line 116    @ nservicebus.bus.create(busconfiguration configuration) in c:\buildagent\work\1b05a2fea6e4cd32\src\nservicebus.core\bus.cs:line 21    @ nservicebus.generichost.performconfiguration(action`1 moreconfiguration) in c:\buildagent\work\a3de8759ee491634\src\nservicebus.hosting.windows\ generichost.cs:line 121    @ nservicebus.generichost.start() in c:\buildagent\work\a3de8759ee491634\src\nservicebus.hosting.windows\generichost.cs:line 58 

i not able find why coming.

gatewaydeduplication never tried load dll dont care still nservicebus trying load dll , failing.

any thoughts?

update nservicebus package latest (5.2.0) , should solve issue


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -