Exec Task in MSBuild for execution of command on remote machine
问题 I am using following command to install a service via MSBuild file. This works great <Exec Command= 'c:\test\myService.Appservices.exe install' ContinueOnError='false' /> But the above command install the service on local machine. I want to install the service on a remote machine. How can I specify the machine name using this command? 回答1: As per Mike Vine's comment, MSBuild doesn't include tools for remote execution. You could however use something like psexec. e.g. <Exec Command='psexec