diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-06-02 00:16:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 00:16:42 +0300 |
commit | 1063e12950f52606ab52e2c1bc3d9b77955db075 (patch) | |
tree | 126e8bc34c3ec4effa8f183196deaa65443f9612 /src/dotnet/feature.json | |
parent | 502af2c69f757af6a7b3817170c33100d2150e00 (diff) |
dotnet: allow multiple dotnet versions (#34)
* dotnet: allow multiple dotnet versions
* nit
* change description
* change condtion
* nit
* change exit code
* restructure linkinh
* nit
* adding installUsingApt
* export path
* fix path
* fix eof
* fix updaterc
* change access
* add USERNAME
* export
* debug 1
* add missing $
Diffstat (limited to 'src/dotnet/feature.json')
-rw-r--r-- | src/dotnet/feature.json | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/dotnet/feature.json b/src/dotnet/feature.json index b49e613..4e2c7a7 100644 --- a/src/dotnet/feature.json +++ b/src/dotnet/feature.json @@ -12,10 +12,20 @@ "type":"boolean", "default": false, "description": "Install just the dotnet runtime if true, and sdk if false." + }, + "overrideDefaultVersion": { + "type": "boolean", + "default": "true", + "description": "If true, overrides existing version (if any) of dotnet on the PATH" + }, + "installUsingApt": { + "type": "boolean", + "default": "true", + "description": "If true, it installs using apt instead of the release URL" } }, "containerEnv": { - "DOTNET_ROOT": "/usr/local/dotnet", + "DOTNET_ROOT": "/usr/local/dotnet/current", "PATH": "${PATH}:${DOTNET_ROOT}" }, "extensions": [ |