문제

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