To create the NuGet package, navigate to the template directory and run:
cd template-package
dotnet packOutput file: bin\Release\AtasIndicator.Template.{version}.nupkg
- Register at https://www.nuget.org/
- Verify your email address.
- Log in to NuGet.org → Account → API Keys.
- Click Create → Select "Push" scope, then select your package (or use
*for all). - Copy the API Key (Note: It is only displayed once).
Run the following command to upload your package:
dotnet nuget push bin\Release\AtasIndicator.Template.1.0.1.nupkg --api-key YOUR_API_KEY --source https://api.nuget.org/v3/index.jsonOnce published, you can install the template using:
dotnet new install AtasIndicator.TemplateOr for a specific version:
dotnet new install AtasIndicator.Template::1.0.1Update the <PackageVersion> tag in your AtasIndicator.Template.csproj file before running the pack command.