In visual studio i have set a command line event which works fine.
net stop "my windows service"
However this event can return a non zero response if the service isn't running. I would like visual studio to continue the build even if a non zero response is received.