Domanda

I am trying to set up my NServiceBus handler after build process as windows service using this approach:

NServiceBus.Host.exe /install /serviceName:MyServer.dll 
/displayName:"My Super Duper service" 
/description:"My server installed by NService Magic"

service is installed but: 1. is not started 2. is blocking files in bin, so do I have to copy my files first to other folder ?

È stato utile?

Soluzione

  1. is not started

Yes, you need to start it manually or you could us sc start MyServer.dll

2. is blocking files in bin, so do I have to copy my files first to other folder

Yes, you need to copy those files to a different folder otherwise the files are locked

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top