Beispiel #1
0
        private IEnumerable <string> ArgsToForwardToRestore()
        {
            var restoreArguments = ParsedArguments.Where(a =>
                                                         !a.StartsWith("/p:TargetFramework"));

            if (!restoreArguments.Any(a => a.StartsWith("/verbosity:")))
            {
                restoreArguments = restoreArguments.Concat(new string[] { "/verbosity:q" });
            }

            return(restoreArguments.Concat(TrailingArguments));
        }