diff options
author | Rodrigo Moya <rodrigo.moya@xamarin.com> | 2019-09-19 19:14:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-19 19:14:40 +0300 |
commit | 63dae6edb9737aa02e0e95a2283fd20ec783e665 (patch) | |
tree | abb1d67cd18bbe4e6c376a9451728f1b12460937 /main | |
parent | 15306104e91ee4f52b14b8ec72cdddfc550624f4 (diff) | |
parent | 4a1e77a94f212dd25e5ca0e68784cb6db8208943 (diff) |
Merge pull request #8778 from mono/pr-Move-Azure-CLI-to-version-with-runtime
Force download of 2.1 runtime instead of 2.2
Diffstat (limited to 'main')
-rw-r--r-- | main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/DotNetCoreRuntimeSystemInformation.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/DotNetCoreRuntimeSystemInformation.cs b/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/DotNetCoreRuntimeSystemInformation.cs index 2598af4890..3faeef8529 100644 --- a/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/DotNetCoreRuntimeSystemInformation.cs +++ b/main/src/addins/MonoDevelop.DotNetCore/MonoDevelop.DotNetCore/DotNetCoreRuntimeSystemInformation.cs @@ -34,7 +34,7 @@ using MonoDevelop.Ide.Updater; namespace MonoDevelop.DotNetCore { /// <summary> - /// Used to fetch a 2.2 runtime for Azure functions as + /// Used to fetch a 2.1 runtime for Azure functions as /// 3.0 and later currently don't work for this. /// </summary> sealed class DotNetCoreRuntimeSystemInformation : ProductInformationProvider @@ -47,7 +47,7 @@ namespace MonoDevelop.DotNetCore public override string ApplicationId => "392e9bd0-7214-4d2f-8b38-420b38e3b20f"; - readonly DotNetCoreVersion version = DotNetCoreRuntime.Versions.FirstOrDefault (v => v.Major == 2 && v.Minor == 2); + readonly DotNetCoreVersion version = DotNetCoreRuntime.Versions.FirstOrDefault (v => v.Major == 2 && v.Minor == 1); public override UpdateInfo GetUpdateInfo () { @@ -56,7 +56,7 @@ namespace MonoDevelop.DotNetCore } if (DotNetCoreRuntime.IsInstalled) - // Force the install of the 2.2 runtime + // Force the install of the 2.1 runtime return new UpdateInfo (ApplicationId, versionId: 0); // Do not force it on users who never installed any dotnet cli and do not need it. return null; |