diff --git a/bucket/dotnet-sdk.json b/bucket/dotnet-sdk.json index b669373491..81ade957f6 100644 --- a/bucket/dotnet-sdk.json +++ b/bucket/dotnet-sdk.json @@ -25,9 +25,10 @@ "DOTNET_ROOT": "$dir", "MSBuildSDKsPath": "$dir\\sdk\\$version\\Sdks" }, + "pre_uninstall": "info 'If the uninstall fails with a message saying that access is denied, you may need to log out of your current account, log back in and try again.'", "checkver": { "url": "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json", - "regex": "(?s)(?[\\d.]+)[^\\d]*?([\\d.]+)[^\\d]*?(?:sts|lts)" + "regex": "\"latest-runtime\": \"(?[\\d.]+)\",[\\s\\S]+?\"latest-sdk\": \"([\\d.]+)\",[\\s\\S]+?\"release-type\" : \"(sts|lts)\"" }, "autoupdate": { "architecture": {