DotnetToolAnnotation Properties
Class Properties 6 members
Represents an annotation for dotnet tool resources.
Are custom sources used in addition or instead of existing feeds.
public bool IgnoreExistingFeeds { get; set; }Remarks
This value has no impact if
DotnetToolAnnotation.Sources is empty. 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; } NuGet package sources to use during installation
public List<string> Sources { get; } The version of the tool package to install.
public string? Version { get; set; }