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

jeffkl/MSBuildArgs

Repository files navigation

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"

About

A class library for generating an MSBuild command-line

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages