J'ai cette tâche qui crée un service:installer un service sur un ordinateur distant à partir d'un script MSBuild
Nom target = "installservice" DependsOnTargets = "CopyFiles"
Commande Exec = "sc \ \ remotecomputer créer " ServiceHost " binPath = " E: \ ServiceHost.exe " DisplayName = " ServiceHost " " WorkingDirectory =" c: \ » ContinueOnError = "false" /Target
Le problème est que quand je lance ce script, il n » t connaître le \ \ remotecomputer.