Build a Visual Studio project or solution using MSBuild
Command Line Arguments 常用命令行參數 詳解:

MSBuild Version 配置的 MSBuild.exe
MSBuild Build File 是需要發布項目的項目文件
/t:Rebuild 表示每次都重建,不使用增量編譯
/P:Configuration=Release 表示編譯 Release 版本
/p:DeployOnBuild=true 表示啟用編譯並發布 (試了下只支持文件系統發布,ftp不行) PublishProfile 指定vs創建的Profile名稱。 用法: /p:DeployOnBuild=True;PublishProfile=FolderProfile
/p:VisualStudioVersion=11.0 表示VS2012,自己在vs里面看版本
/p:DefineConstants=\"ZHEJIANGSZ,SILVERLIGHT,TRACE\" 瀏覽器內
/p:OutputPath=D:\Jenkins\JenkinsGitTest 編譯后放的位置
待續...
