コード例 #1
0
        private List <string> GetRestoreArguments()
        {
            List <string> args = new List <string>()
            {
                "-nologo"
            };

            if (!RestoreArgs.Any(a => a.StartsWith("-verbosity:")))
            {
                args.Add("-verbosity:quiet");
            }

            args.AddRange(RestoreArgs);

            return(args);
        }
コード例 #2
0
        private List <string> GetRestoreArguments()
        {
            List <string> args = new List <string>()
            {
                "-nologo"
            };

            // --interactive need to output guide for auth. It cannot be
            // completely "quiet"
            if (!RestoreArgs.Any(a => a.StartsWith("-verbosity:")))
            {
                var defaultVerbosity = Interactive ? "minimal" : "quiet";
                args.Add($"-verbosity:{defaultVerbosity}");
            }

            args.AddRange(RestoreArgs);

            return(args);
        }