Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/core/tools/custom-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ project_folder

Use the [dotnet new install](dotnet-new-install.md) command to install a template package.

> [!WARNING]
> Templates can run MSBuild code when triggered, don't install or run untrusted .NET templates.

### To install a template package from a NuGet package stored at nuget.org

Use the NuGet package identifier to install a template package.
Expand Down
3 changes: 3 additions & 0 deletions docs/core/tools/dotnet-new-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ Starting with .NET SDK 6.0.100, installed template packages are available in lat
> dotnet new --install Microsoft.Azure.WebJobs.ProjectTemplates
> ```

> [!WARNING]
> Templates can run MSBuild code when triggered, don't install or run untrusted .NET templates.

## Arguments

- **`<PATH|NUGET_ID>`**
Expand Down