.net - Stop/Run windows service and building a solution -
I have a script that closes a certain window service, creates a build or a rebuild, and renders the service The construction process is finished after running.
Should I use MSBILD for this? Or is there any other way?
You can use the service that will stop, then the solution will build service start: < / P>
net stop "service name" & msbuild & gt; \ Msbuild.exe & lt; Path & gt; Net Start "Service Name"
How to get to the command line, and MSBILD.
Your other choice, as mentioned, is to use. There are many of them - the service controller is specific to your needs.
Comments
Post a Comment