12 references to ExitOnFailure
dotnet (12)
Commands\Workload\Install\MsiInstallerBase.cs (10)
182
ExitOnFailure
(response, "Failed to repair MSI.");
218
ExitOnFailure
(response, "Failed to update install mode.");
247
ExitOnFailure
(response, "Failed to update install mode.");
269
ExitOnFailure
(response, "Failed to record workload set version in GC Roots file.");
297
ExitOnFailure
(response, "Failed to get global.json GC roots");
334
ExitOnFailure
(response, "Failed to install MSI.");
367
ExitOnFailure
(response, "Failed to uninstall MSI.");
536
ExitOnFailure
(response, $"Failed to update dependent, providerKey: {providerKeyName}, dependent: {dependent}.");
572
ExitOnFailure
(response, $"Failed to remove install state file: {path}");
603
ExitOnFailure
(respone, $"Failed to write install state file: {path}");
Commands\Workload\Install\WorkloadInstallRecords\RegistryWorkloadInstallationRecordRepository.cs (2)
64
ExitOnFailure
(response, "Failed to delete workload record key.");
114
ExitOnFailure
(response, "Failed to write workload record key.");