12 references to LogAsErrorException
WorkloadBuildTasks (12)
InstallWorkloadFromArtifacts.cs (5)
77
throw new
LogAsErrorException
($"Cannot find {nameof(SdkWithNoWorkloadInstalledPath)}={SdkWithNoWorkloadInstalledPath}");
80
throw new
LogAsErrorException
($"Cannot find {nameof(LocalNuGetsPath)}={LocalNuGetsPath} . " +
90
throw new
LogAsErrorException
($"No install targets specified.");
96
throw 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)
72
throw new
LogAsErrorException
($"{nameof(templateNuGetConfigPath)} is required");
75
throw new
LogAsErrorException
($"Cannot find {nameof(templateNuGetConfigPath)}={templateNuGetConfigPath}");
78
throw new
LogAsErrorException
($"{nameof(packageSourceNameForBuiltPackages)} is required");
81
throw new
LogAsErrorException
($"{nameof(outputPath)} is required");
84
throw new
LogAsErrorException
($"{nameof(outputPath)}={outputPath} is a directory, it should be a file");
95
throw new
LogAsErrorException
($"Could not find {xpath} in {templateNuGetConfigPath}");
116
throw new
LogAsErrorException
($"Could not find root element in {templateNuGetConfigPath}");