Esempio n. 1
0
 public IOfferRemoteDeployment File(string sourceFile, string destFile)
 {
     var copyFileProvider = new CopyFileProvider(sourceFile, destFile);
     AddOperation(copyFileProvider);
     return this;
 }
 public IOfferRemoteDeployment File(string sourceFile, string destFile)
 {
     var copyFileProvider = new CopyFileProvider(sourceFile, destFile);
     _remoteSequence.Add(new RemoteWebDeployOperation(copyFileProvider, _webDeploy));
     return this;
 }
Esempio n. 3
0
 private void ConfigureCopyFileOperation(string path)
 {
     var copyFileProvider = new CopyFileProvider(path, string.Format(@"%temp%\ConDep\{0}\PSScripts\ConDep\{1}", ConDepGlobals.ExecId, Path.GetFileName(path)));
     var copyOp = new RemoteWebDeployOperation(copyFileProvider, _webDeploy);
     _sequence.Add(copyOp, true);
 }