メモ

CruiseControl.NET 設定サンプル メモ

# 設定サンプル内の XML コメントが消えちゃってる場合は、こちらのリンクをクリック! <cruisecontrol> <project> <name>CITest</name> <workingDirectory>D:\Projects\CITest\Work</workingDirectory> <artifactDirectory>D:\Projects\CITest\Artifacts</artifactDirectory> </project></cruisecontrol>

MSDTC インストーラクラス サンプル

昔書いたコード using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration.Install; using System.Diagnostics; using Microsoft.Win32; [RunInstaller(true)] public partial class MsdtcSettingInstalle…

System.IO.Compression メモ

class Program { static void Main(string[] args) { byte[] source = new byte[] { 0, 1, 2, 3, 4 }; byte[] compressData; byte[] restoreData; using (var compressInputStream = new MemoryStream(source)) using (var compressOutputStream = new Memor…

System.IO.IsolatedStorage メモ

using (var testStorage = IsolatedStorageFile.GetUserStoreForDomain()) using (var testFileStream = new IsolatedStorageFileStream("fuga.txt", FileMode.OpenOrCreate, FileAccess.ReadWrite, testStorage)) using (var testFileWriter = new StreamWr…

コンポーネント サービスは

dcomcnfg

CruiseControl.NET で PowerShell スクリプトを実行

<tasks> <exec> <executable>powershell</executable> <baseDirectory>D:\Server\Projects\TestProject\CI</baseDirectory> <buildArgs>"&amp;'.\build.ps1'" -Noninteractive</buildArgs> </exec> </tasks>