Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私の目的は、プロジェクトに複数の外部 (リンク) を設定して、プロジェクトをチェックアウトする人がすべての外部を同時に取得できるようにすることです。これは SVN.EXE で -propset svn:externals -F svnexternalsfile として実現できます。
SharpSvn の SetProperty() メソッドで外部ファイルを指定するにはどうすればよいですか?
SharpSvn はファイルの読み取りを処理しません。プロパティを設定できるようにするだけです。
using(SvnClient client = new SvnClient()) { string val = File.ReadAllText("C:\\My\\file.txt"); client.SetProperty("C:\\WorkDir", SvnPropertyNames.SvnExternals, val); }