View on GitHub

pipeline_templates

Templates for use in build and release pipelines

NuGet Install and Solution Restore Template

Use this template to install a specific version of NuGet and restore packages for a Visual Studio solution file.

YAML snippet

# NuGet Install and Solution Restore Template
# Template for installing NuGet and restoring packages for a Visual Studio solution
stages:
- template:  azure/steps/[email protected]_templates
  parameters:
    solution_filename:
    #nuget_version: # Optional

Arguments

ArgumentDescription
nuget_version(Optional) Use to override the NuGet version (defaults to 4.4.1)
solution_filenameThe relative path to the solution file that should be built

Open source

This template is open source on GitHub. Feedback and contributions are welcome.