TFS 2010 Power Tools コマンド ライン ユーティリティ TFPT を使用して、新しい WorkItem の説明フィールドに改行を追加するにはどうすればよいですか? 私はこれを試しました:
Z:\>tfpt workitem /new "Project Ipsum\Issue" /collection:http://myserver:8080/tfs/test /fields:"Title=Testing Command Line 3;Description=Description of issue goes here<br /><br />I'd like to have line breaks too"
この:
Z:\>tfpt workitem /new "Project Ipsum\Issue" /collection:http://myserver:8080/tfs/test /fields:"Title=Testing Command Line 3;Description=Description of issue goes here\r\nI'd like to have line breaks too"
無駄に。
何か提案はありますか?
============================
私が実装した 1 つの回避策は、最初に長い説明に埋め込んでいたプロパティを持つ新しい (実際には拡張された) ワークアイテムを作成することです。そのため、次のような個別のフィールドに分割しました。
Z:\>tfpt workitem /new "Project Ipsum\Issue" /collection:http://myserver:8080/tfs/test /fields:"Title=Testing Command Line 3;Description=Description of issue goes here;Field1=more info;Field2=even more data"
次に、それらを表示するフォーム フィールド (新しいタブ グループ) を作成しました。その方がとにかくすっきりします。
TFPTで改行を追加する方法を決定することはまだ興味深いでしょう。
ありがとう。