msbuild(1) General Commands Manual msbuild(1) (NAME) msbuild - (SYNOPSIS) msbuild [options] [project file | directory] (DESCRIPTION) (targets) . MSBuild <> . MSBuild . (OPTIONS) /target: . . ( : /t) : /target:Resources;Compile /property:= . . . ( : /p) : /property:WarningLevel=2;OutDir=bin/Debug/ /maxcpucount[:n] msbuild 1 . . 1 . MSBuild . ( : /m[:n]) /toolsversion: MSBuild ( ) . . ( : /tv) : /toolsversion:3.5 /verbosity: . : q[uiet] m[inimal] n[ormal] d[etailed] diag[nostic]. ( : /v) : /verbosity:quiet /consoleloggerparameters: . ( : /clp) : PerformanceSummary Show time spent in tasks, targets and projects. Summary Show error and warning summary at the end. NoSummary Don't show error and warning summary at the end. ErrorsOnly Show only errors. WarningsOnly Show only warnings. NoItemAndPropertyList Don't show list of items and properties at the start of each project build. ShowCommandLine Show TaskCommandLineEvent messages ShowTimestamp Display the Timestamp as a prefix to any message. ShowEventId Show eventId for started events, finished events, and messages ForceNoAlign Does not align the text to the size of the console buffer DisableConsoleColor Use the default console colors for all logging messages. DisableMPLogging Disable the multiprocessor logging style of output when running in non-multiprocessor mode. EnableMPLogging Enable the multiprocessor logging style even when running in non-multiprocessor mode. This logging style is on by default. ForceConsoleColor Use ANSI console colors even if console does not support it Verbosity overrides the /verbosity setting for this logger. : /consoleloggerparameters:PerformanceSummary;NoSummary;Verbosity=minimal /noconsolelogger . ( : /noconlog) /fileLogger[n] . <> . . fileLogger <> . <> 1 9 10 . ( : /fl[n]) /fileloggerparameters[n]: . /filelogger[n] . <> 1 9 . /fileloggerparameters /distributedFileLogger . ( : /flp[n]) . : LogFile path to the log file into which the build log will be written. Append determines if the build log will be appended to or overwrite the log file. Setting the switch appends the build log to the log file; Not setting the switch overwrites the contents of an existing log file. The default is not to append to the log file. Encoding specifies the encoding for the file, for example, UTF-8, Unicode, or ASCII Default verbosity is Detailed. : /fileLoggerParameters:LogFile=MyLog.log;Append;Verbosity=diagnostic;Encoding=UTF-8 /flp:Summary;Verbosity=minimal;LogFile=msbuild.sum /flp1:warningsonly;logfile=msbuild.wrn /flp2:errorsonly;logfile=msbuild.err /distributedlogger:* MSBuild . . ( : /dl) : [,][;] : [.] : {[,] | } . ( : /l) : /dl:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral /dl:MyLogger,/mylibs/My.dll*ForwardingLogger,/mylibs/Loggger.dll /distributedFileLogger MSBuild . . <.log>> . fileLogger <> . fileLoggerParameters fileName (node id) fileName . /logger: MSBuild. . : [,][;] : [.] : {[,] | } . ( : /l) : /logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral /logger:XMLLogger,/MyLoggers/MyLogger.dll;OutputAsHTML /binaryLogger[:output.binlog] . <> . . (diagnostic) . ( : /bl) : /bl /bl:output.binlog /bl:../../custom.binlog /binaryLogger /warnaserror[:code[;code2]] . . . ( : /err[:c;[c2]]) : /warnaserror:MSB4130 . /warnasmessage[:code[;code2]] . . ( : /nowarn[:c;[c2]]) : /warnasmessage:MSB3026 /ignoreprojectextensions: . . ( : /ignore) : /ignoreprojectextensions:.sln /nodeReuse: MSBuild . : True Nodes will remain after the build completes and will be reused by subsequent builds (default) False Nodes will not remain after the build completes ( : /nr) : /nr:true /preprocess[:file] (imported) . . . . ( : /pp) : /pp:out.txt /detailedsummary . ( : /ds) @ . . <> : (1) the directory of msbuild.dll (2) the directory of the first project or solution built /noautoresponse MSBuild.rsp . ( : /noautorsp) /nologo . /version . ( : /ver) /help . ( : /? /h) (SEE ALSO) mono(1),csc(1) (COPYRIGHT) (C) . . msbuild(1)