public static string BuildNuGetPack
            (string aTokenizedCommandLine, bool aUseNuSpecFileIfAvailable)
        {
            StringBuilder vResult     = new StringBuilder(aTokenizedCommandLine);
            string        vSourcePath =
                aUseNuSpecFileIfAvailable
                                        ? NuSpecFilePath
                                        : ProjectPath;

            vResult
            .Replace(BASE_PATH.AsToken(), BasePath)
            .Replace(EXCLUDE.AsToken(), Exclude)
            .Replace(MIN_CLIENT_VERSION.AsToken(), MinClientVersion)
            .Replace(MS_BUILD_PATH.AsToken(), MSBuildPath)
            .Replace(MS_BUILD_VERSION.AsToken(), MSBuildVersion)
            //				.Replace(OUTPUT_PACKAGE_TO.AsToken(), PackagePath)
            .Replace
            (
                OUTPUT_PACKAGE_TO.AsToken()
                , PackageDir + Path.DirectorySeparatorChar
            )
            .Replace(PACKAGE_VERSION.AsToken(), PackageVersion)
            .Replace(PROJECT_PATH.AsToken(), vSourcePath)
            .Replace(PROPERTIES.AsToken(), Properties)
            .Replace(VERSION_SUFFIX_NUGET.AsToken(), VersionSuffixNuGet)
            .Replace(VERBOSITY_NUGET.AsToken(), VerbosityNuGet);
            return(vResult.ToString());
        }
        // DotNet nuget command builders

        public static string BuildDotNetNuGetPack(string aTokenizedCommandLine)
        {
            StringBuilder vResult = new StringBuilder(aTokenizedCommandLine);

            vResult
            .Replace(PROJECT_PATH.AsToken(), ProjectPath)
            .Replace(CONFIGURATION_NAME.AsToken(), ConfigurationName)
            .Replace
            (
                OUTPUT_PACKAGE_TO.AsToken()
                , PackageDir + Path.DirectorySeparatorChar
            )
            .Replace(PACKAGE_VERSION.AsToken(), PackageVersion)
            .Replace(RUNTIME_IDENTIFIER.AsToken(), RuntimeIdentifier)
            .Replace(VERSION_SUFFIX_DOTNET.AsToken(), VersionSuffixDotNet)
            .Replace(VERBOSITY_DOTNET.AsToken(), VerbosityDotNet);
            return(vResult.ToString());
        }