.NET Core Tool Installer task
Azure Pipelines
Use this task in a build or release pipeline to acquire a specific version of .NET Core from the internet or the tools cache and add it to the PATH. Use this task to change the version of .NET Core used in subsequent tasks.
YAML snippet
# .NET Core SDK Installer
# Acquires a specific version of the .NET Core SDK from the internet or the local cache and adds it to the PATH. Use this task to change the version of .NET Core used in subsequent tasks.
- task: DotNetCoreInstaller@0
inputs:
#packageType: 'sdk' # Options: runtime, sdk
#version: '1.0.4'
Arguments
Argument | Description |
---|---|
Package to install | (Required) Please select whether to install only runtime or full SDK. |
Version | (Required) Specify exact version of .NET Core SDK or runtime to install. Examples: 1. To install 1.0.4 SDK, use 1.0.4 2. To install 1.1.2 runtime, use 1.1.2 2. To install 2.0 preview 2 runtime, use 2.0.0-preview2-25407-01 For getting more details about exact version, refer here |
Control options |
Open source
This task is open source on GitHub. Feedback and contributions are welcome.
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...