14 references to ProjectUpdaterException
aspire (14)
Projects\FallbackProjectParser.cs (1)
54
throw new
ProjectUpdaterException
($"Unsupported project file type: {projectFile.Extension}. Expected .csproj or .cs file.");
Projects\ProjectUpdater.cs (13)
84
throw new
ProjectUpdaterException
(UpdateCommandStrings.FailedDiscoverNuGetConfig);
191
throw new
ProjectUpdaterException
(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.FailedFetchItemsAndPropertiesFormat, projectFile.FullName));
254
return latestPackage ?? throw new
ProjectUpdaterException
(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.NoPackageFoundFormat, packageId, context.Channel.Name));
399
throw new
ProjectUpdaterException
(string.Format(CultureInfo.InvariantCulture,
414
throw new
ProjectUpdaterException
(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.CouldNotFindRootProjectElementFormat, projectFile.FullName));
432
throw new
ProjectUpdaterException
(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.CouldNotFindSdkElementFormat, projectFile.FullName));
583
throw new
ProjectUpdaterException
(string.Format(CultureInfo.InvariantCulture,
637
var referencedProjectPath = projectReference.GetProperty("FullPath").GetString() ?? throw new
ProjectUpdaterException
(UpdateCommandStrings.ProjectReferenceNoFullPath);
648
var packageId = packageReference.GetProperty("Identity").GetString() ?? throw new
ProjectUpdaterException
(UpdateCommandStrings.PackageReferenceNoIdentity);
788
throw new
ProjectUpdaterException
(string.Format(CultureInfo.InvariantCulture,
795
throw new
ProjectUpdaterException
(string.Format(CultureInfo.InvariantCulture,
869
throw new
ProjectUpdaterException
(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.CouldNotFindPackageVersionInDirectoryPackagesProps, packageId, directoryPackagesPropsFile.FullName));
891
throw new
ProjectUpdaterException
(string.Format(CultureInfo.InvariantCulture, UpdateCommandStrings.FailedUpdatePackageReferenceFormat, package.Id, projectFile.FullName));