DotnetToolAnnotation Properties

ClassProperties6 members
Represents an annotation for dotnet tool resources.
IgnoreExistingFeedsSection titled IgnoreExistingFeedsbool
Are custom sources used in addition or instead of existing feeds.
public bool IgnoreExistingFeeds { get; set; }
This value has no impact if DotnetToolAnnotation.Sources is empty.
IgnoreFailedSourcesSection titled IgnoreFailedSourcesbool
Treats package source failures as warnings.
public bool IgnoreFailedSources { get; set; }
The NuGet package ID of the .NET tool to execute. You can optionally specify a version using the @ syntax, for example dotnetsay@2.1.
public string PackageId { get; set; }
Allows prerelease packages to be selected when resolving the version to install.
public bool Prerelease { get; set; }
SourcesSection titled SourcesList<string>
NuGet package sources to use during installation
public List<string> Sources { get; }
VersionSection titled Versionnullablestring?
The version of the tool package to install.
public string? Version { get; set; }