Commands\Run\RunCommand.cs (12)
141throw new GracefulException(CliCommandStrings.CannotCombineOptions, RunCommandParser.NoCacheOption.Name, RunCommandParser.NoBuildOption.Name);
177throw new GracefulException(
331throw new GracefulException(CliCommandStrings.RunCommandException);
495throw new GracefulException(CliCommandStrings.RunCommandEvaluationExceptionBuildFailed, Constants.ComputeRunArguments);
508throw new GracefulException(CliCommandStrings.RunCommandExceptionUnableToRunSpecifyFramework, "--framework");
512throw new GracefulException(
544throw new GracefulException(CliCommandStrings.CmdNonExistentFileErrorDescription, projectFilePath);
555throw new GracefulException(CliCommandStrings.RunCommandExceptionNoProjects, projectFileOrDirectoryPath, "--project");
571throw new GracefulException(CliCommandStrings.RunCommandExceptionMultipleProjects, directory);
640throw new GracefulException(CliCommandStrings.CannotCombineOptions, RunCommandParser.ProjectOption.Name, RunCommandParser.FileOption.Name);
660throw new GracefulException(CliCommandStrings.InvalidOptionForStdin, RunCommandParser.NoBuildOption.Name);
665throw new GracefulException(CliCommandStrings.InvalidOptionForStdin, RunCommandParser.LaunchProfileOption.Name);
Commands\Workload\Install\WorkloadInstallCommand.cs (7)
49throw new GracefulException(CliCommandStrings.CannotSpecifyVersionAndWorkloadIdsByComponent, isUserError: true);
101throw new GracefulException(string.Format(exceptionMessage, workloadId), isUserError: false);
150throw new GracefulException(string.Format(CliCommandStrings.WorkloadInstallWorkloadCacheDownloadFailed, e.Message), e, isUserError: false);
155throw new GracefulException(string.Format(CliCommandStrings.CannotCombineSkipManifestAndRollback,
160throw new GracefulException(string.Format(CliCommandStrings.CannotCombineSkipManifestAndVersion,
167throw new GracefulException(string.Format(CliCommandStrings.CannotUseSkipManifestWithGlobalJsonWorkloadVersion,
197throw new GracefulException(string.Format(CliCommandStrings.WorkloadInstallationFailed, e.Message), e, isUserError: false);