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 ?

有帮助吗?

解决方案

  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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top