Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Use this task to acquire a specific version of the .NET Core SDK from the internet or local cache and add it to the PATH.
Important
This task is deprecated. Use UseDotNet@2.
Use this task to acquire a specific version of the .NET Core SDK from the internet or local cache and add it to the PATH.
Important
This task is deprecated. Use UseDotNet@2.
# .NET Core SDK/runtime installer v0
# Acquire a specific version of the .NET Core SDK from the internet or local cache and add it to the PATH.
- task: DotNetCoreInstaller@0
inputs:
packageType: 'sdk' # 'runtime' | 'sdk'. Required. Package to install. Default: sdk.
version: '1.0.4' # string. Required. Version. Default: 1.0.4.
packageType
- Package to install
string
. Required. Allowed values: runtime
, sdk
(SDK (contains runtime)). Default value: sdk
.
Specifies whether to install only Runtime or the full SDK.
version
- Version
string
. Required. Default value: 1.0.4
.
Specifies the exact version of the .NET Core SDK or Runtime to install.
Find the value of version-sdk
for installing the SDK, or version-runtime
for installing Runtime from any releases in GitHub.
Note
The task won't work with new versions of .NET Core. Upgrade to @UseDotNet2 of the task so you can download the latest versions of .NET Core.
All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.
None.
This task is deprecated. Use @UseDotNet2.
Requirement | Description |
---|---|
Pipeline types | YAML, Classic build, Classic release |
Runs on | Agent, DeploymentGroup |
Demands | None |
Capabilities | Running this task satisfies the following demands for any subsequent tasks in the same job: DotNetCore |
Command restrictions | Any |
Settable variables | Any |
Agent version | All supported agent versions. |
Task category | Tool |
Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now