Skip to content

Instantly share code, notes, and snippets.

@jptoto
Created February 24, 2014 17:31
Show Gist options
  • Save jptoto/9192824 to your computer and use it in GitHub Desktop.
Save jptoto/9192824 to your computer and use it in GitHub Desktop.
Get ProcessID using MSBuild
<GetServiceProcessID ServiceName="ServiceName" ContinueOnError="true">
<Output
TaskParameter="ProcessID"
PropertyName="ServiceProcessID" />
</GetServiceProcessID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment