12 references to LogAsErrorException
WorkloadBuildTasks (12)
InstallWorkloadFromArtifacts.cs (5)
77throw new LogAsErrorException($"Cannot find {nameof(SdkWithNoWorkloadInstalledPath)}={SdkWithNoWorkloadInstalledPath}"); 80throw new LogAsErrorException($"Cannot find {nameof(LocalNuGetsPath)}={LocalNuGetsPath} . " + 90throw new LogAsErrorException($"No install targets specified."); 96throw new LogAsErrorException($"Missing Variants metadata on item '{workloadToInstall.ItemSpec}'"); 109: throw new LogAsErrorException($"Could not find any workload variant named '{w.variant}'");
PatchNuGetConfig.cs (7)
72throw new LogAsErrorException($"{nameof(templateNuGetConfigPath)} is required"); 75throw new LogAsErrorException($"Cannot find {nameof(templateNuGetConfigPath)}={templateNuGetConfigPath}"); 78throw new LogAsErrorException($"{nameof(packageSourceNameForBuiltPackages)} is required"); 81throw new LogAsErrorException($"{nameof(outputPath)} is required"); 84throw new LogAsErrorException($"{nameof(outputPath)}={outputPath} is a directory, it should be a file"); 95throw new LogAsErrorException($"Could not find {xpath} in {templateNuGetConfigPath}"); 116throw new LogAsErrorException($"Could not find root element in {templateNuGetConfigPath}");