Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (21 loc) · 1.04 KB

README.md

File metadata and controls

25 lines (21 loc) · 1.04 KB

Overview

A class library for generating an MSBuild command-line. This ensures that your command-line is correct every time with compile time checking and argument escaping. The generator uses the MSBuild command-line builder so that the arguments are specified correctly.

Build status NuGet Pre Release

Examples

Console Logger (/consoleloggerparameters)

var arguments = new MSBuildCommandLineArguments
{
    ConsoleLoggerParameters = new MSBuildConsoleLoggerParameters
    {
        Options = MSBuildLoggerOptions.DisableConsoleColor
                | MSBuildLoggerOptions.ShowTimestamp,
        Verbosity = Microsoft.Build.Framework.LoggerVerbosity.Detailed
    }
};

Result:

/ConsoleLoggerParameters:"ShowTimestamp;DisableConsoleColor;Verbosity=Detailed"