DotnetToolAnnotation
Class net8.0
Represents an annotation for dotnet tool resources.
namespace Aspire.Hosting.ApplicationModel;
public class DotnetToolAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation{ // ...} 7 members
Constructors1
Section titled ConstructorsProperties6
Section titled PropertiesIgnoreExistingFeedsget; setbool Are custom sources used in addition or instead of existing feeds.
IgnoreFailedSourcesget; setbool Treats package source failures as warnings.
PackageIdget; setstring The NuGet package ID of the .NET tool to execute. You can optionally specify a version using the
@ syntax, for example dotnetsay@2.1. Prereleaseget; setbool Allows prerelease packages to be selected when resolving the version to install.
SourcesgetList<string> NuGet package sources to use during installation
Versionget; setstring? The version of the tool package to install.