最終更新:
ksuzuki_323 2011年10月10日(月) 22:12:10履歴
- /property:name=value
- プロパティを設定するためのスイッチ
- /pでも可
- セミコロン(;)またはカンマ(,)を使用して複数のプロパティを続けることができる
- /target:targets
- /tでも可
- Target(ターゲット)とは「処理プロセスの1単位」
- 代表例:「Compile」「Build」「Rebuild」「Clean」「Publish」「Run」
- Configuration
- ReleaseモードでビルドすかDebugモードでビルドするかの指定
- 「Release」または「Debug」を指定
- OutputPath
- 出力フォルダのパスの指定
- プロジェクトディレクトリを基準とする相対パスで指定
hogeプロジェクトをリリースモードでリビルド。出力ディレクトリは.\Output
PATH PATH=%PATH%;c:\Windows\Microsoft.NET\Framework\v4.0.30319 MSBuild /property:OutputPath=.\Output;Configuration=Relase /t:Rebuild hoge.csproj
最新コメント