• MSBuild.exe


     

    C:"WINDOWS"Microsoft.NET"Framework"v2.0.50727>MSBuild.exe

    Microsoft (R) Build Engine Version 2.0.50727.832

    [Microsoft .NET Framework, Version 2.0.50727.832]

    Copyright (C) Microsoft Corporation 2005. All rights reserved.

    Syntax:              MSBuild.exe [options] [project file]

    Description:         Builds the specified targets in the project file. If

                         a project file is not specified, MSBuild searches the

                         current working directory for a file that has a file

                         extension that ends in "proj" and uses that file.

    Switches:

     /help              Display this usage message. (Short form: /? or /h)

     /nologo            Do not display the startup banner and copyright message.

     /version           Display version information only. (Short form: /ver)

     @<file>            Insert command-line settings from a text file. To specify

                         multiple response files, specify each response file

                         separately.

     /noautoresponse    Do not auto-include the MSBuild.rsp file. (Short form:

                         /noautorsp)

     /target:<targets> Build these targets in this project. Use a semicolon or a

                         comma to separate multiple targets, or specify each

                         target separately. (Short form: /t)

                         Example:

                           /target:Resources;Compile

     /property:<n>=<v> Set or override these project-level properties. <n> is

                         the property name, and <v> is the property value. Use a

                         semicolon or a comma to separate multiple properties, or

                         specify each property separately. (Short form: /p)

                         Example:

                           /property:WarningLevel=2;OutDir=bin"Debug"

     /logger:<logger>   Use this logger to log events from MSBuild. To specify

                         multiple loggers, specify each logger separately.

                         The <logger> syntax is:

                            [<logger class>,]<logger assembly>[;<logger parameters>]

                         The <logger class> syntax is:

                            [<partial or full namespace>.]<logger class name>

                         The <logger assembly> syntax is:

                            {<assembly name>[,<strong name>] | <assembly file>}

                         The <logger parameters> are optional, and are passed

                         to the logger exactly as you typed them. (Short form: /l)

                         Examples:

                           /logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral

                           /logger:XMLLogger,C:"Loggers"MyLogger.dll;OutputAsHTML

     /verbosity:<level> Display this amount of information in the event log.

                         The available verbosity levels are: q[uiet], m[inimal],

                         n[ormal], d[etailed], and diag[nostic]. (Short form: /v)

                         Example:

                           /verbosity:quiet

     /consoleloggerparameters:<parameters>

                         Parameters to console logger. (Short form: /clp)

                         The available parameters are:

                            PerformanceSummary--show time spent in tasks, targets

                                and projects.

                            NoSummary--don't show error and warning summary at the

                                end.

                            NoItemAndPropertyList--don't show list of items and

                                properties at the start of each project build.

                         Example:

                            /consoleloggerparameters:PerformanceSummary;NoSummary

     /noconsolelogger   Disable the default console logger and do not log events

                         to the console. (Short form: /noconlog)

     /validate          Validate the project against the default schema. (Short

                         form: /val)

     /validate:<schema> Validate the project against the specified schema. (Short

                         form: /val)

                         Example:

                           /validate:MyExtendedBuildSchema.xsd

    Examples:

            MSBuild MyApp.sln /t:Rebuild /p:Configuration=Release

            MSBuild MyApp.csproj /t:Clean /p:Configuration=Debug

  • 相关阅读:
    BZOJ 2306 幸福路径(DP)
    BZOJ 2303 方格染色(带权并查集)
    2011 Multi-University Training Contest 8
    POJ 1379 Run Away(模拟退火)
    BZOJ 3680 吊打XXX(模拟退火)
    POJ 3074 Sudoku(Dancing Links)
    java 基础语法 1
    java 配置环境变量
    windows 结束进程的详细过程
    在同一台服务器上配置多个Tomcat
  • 原文地址:https://www.cnblogs.com/liunatural/p/1079760.html
Copyright © 2020-2023  润新知