Skip to content
Docs Try Aspire

DotnetToolResource

Class net8.0
📦 Aspire.Hosting v13.2.0
A resource that represents a specified dotnet tool.
namespace Aspire.Hosting.ApplicationModel;
public class DotnetToolResource
: Aspire.Hosting.ApplicationModel.ExecutableResource
{
// ...
}
This class is used to define and manage resources for .NET CLI tools. It associates a tool's name and command with its package ID, and ensures that the required metadata is properly annotated.