ビルド前イベントに次の行があります。
"$(SolutionDir)SolutionItems\NAnt\bin\NAnt.exe" configMerge -D:buildfile="$(SolutionDir)SolutionItems\NAnt\default.build" -D:sourcefile="$(SolutionDir)Web\web.format.config" -D:destinationfile="$(SolutionDir)Web\web.config"
次のエラーが発生します。
Error 191 The command ""D:\Projects\trunk\SolutionItems\NAnt\bin\NAnt.exe" configMerge -D:buildfile="D:\Projects\trunk\SolutionItems\NAnt\default.build" -D:sourcefile="D:\Projects\trunk\Web\web.format.config" -D:destinationfile="D:\Projects\trunk\Web\web.config"" exited with code 1.
コード 1 と表示される理由は何ですか? パラメータなしで試してみましたが、どちらも機能しません。Nant.exe はビルド前のイベントで動作しますか?
このような質問が他にもあることは知っています。しかし、誰も私の問題を解決するための答えをくれませんでした。