Kayıtlar

Aralık, 2014 tarihine ait yayınlar gösteriliyor

Bat Dosyası Hazırlama

Resim
Bat Dosyası Hazırlama Call : Path'te bulunan çalıştırılacak dosya çağrılır. xcopy  : Path'teki dosyaları ResourceFiles'dan ServiceBinPath'e kopyalar. @echo off call "D:\Directory\_BATCH_Service_Update\BATCH_Get_Latest_Solutions.bat" set ServiceBinPath="C:\Host\Services\bin" xcopy %ServiceBinPath% %ServiceBinPath%Backup /E /R /Y /I xcopy %ResourceFiles%\*Common.dll %ServiceBinPath% /E /R /Y /I xcopy %ResourceFiles%\*Services.dll %ServiceBinPath% /E /R /Y /I pause @echo off call "D:\Directory\_BATCH_Service_Update\BATCH_Setup.bat" call "D:\Directory\_BATCH_Service_Update\BATCH_Set_Solution_Folders.bat" %ExePath% get %TfsFolder%/*.dll /force /r echo. %ExePath% get %TfsFolder%/*.dll /force /r echo. %ExePath% get %TfsFolder%/*.dll /force /r pause

Console Ekranından Debug

Resim
Console Ekranından Debug Proje properties'inden Debud sekmesinde Command linearguments alanına gerekli args'lar boşlukla eklenir. Proje run edildiğinde ilgili args'ların parametre olarak geldiği görülür. static void Main(string[] args) {                       string currentReleaseNumber = args[0];             string newReleaseNumber = args[1];             string solutionRoot = args[2] ; }