Skip to content

Commit ba5cb86

Browse files
Merge pull request #2282 from DustinCampbell/increase-required-mono
Increase minimum required mono to 5.8.1
2 parents e2297b7 + 90aeb70 commit ba5cb86

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
* There currently is no completion support for package references in csproj files. ([#1156](https://github.com/OmniSharp/omnisharp-vscode/issues/1156))
44
* As an alternative, consider installing the [MSBuild Project Tools](https://marketplace.visualstudio.com/items?itemName=tintoy.msbuild-project-tools) extension by @tintoy.
55

6+
## 1.15.1 (May 11, 1018)
7+
8+
* The minimum Mono version required to run OmniSharp on has been increased to 5.8.1.
9+
610
## 1.15.0 (May 10, 2018)
711

812
#### Debugger

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "csharp",
33
"publisher": "ms-vscode",
4-
"version": "1.15.0",
4+
"version": "1.15.1",
55
"description": "C# for Visual Studio Code (powered by OmniSharp).",
66
"displayName": "C#",
77
"author": "Microsoft Corporation",
@@ -530,11 +530,11 @@
530530
"never"
531531
],
532532
"enumDescriptions": [
533-
"Automatically launch OmniSharp with \"mono\" if version 5.2.0 or greater is available on the PATH.",
534-
"Always launch OmniSharp with \"mono\". If version 5.2.0 or greater is not available on the PATH, an error will be printed.",
533+
"Automatically launch OmniSharp with \"mono\" if version 5.8.1 or greater is available on the PATH.",
534+
"Always launch OmniSharp with \"mono\". If version 5.8.1 or greater is not available on the PATH, an error will be printed.",
535535
"Never launch OmniSharp on a globally-installed Mono."
536536
],
537-
"description": "Launch OmniSharp with the globally-installed Mono. If set to \"always\", \"mono\" version 5.2.0 or greater must be available on the PATH. If set to \"auto\", OmniSharp will be launched with \"mono\" if version 5.2.0 or greater is available on the PATH."
537+
"description": "Launch OmniSharp with the globally-installed Mono. If set to \"always\", \"mono\" version 5.8.1 or greater must be available on the PATH. If set to \"auto\", OmniSharp will be launched with \"mono\" if version 5.8.1 or greater is available on the PATH."
538538
},
539539
"omnisharp.waitForDebugger": {
540540
"type": "boolean",

src/omnisharp/launcher.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ async function launch(cwd: string, args: string[], launchInfo: LaunchInfo, platf
237237
}
238238

239239
let monoVersion = await getMonoVersion();
240-
let isValidMonoAvailable = await satisfies(monoVersion, '>=5.2.0');
240+
let isValidMonoAvailable = await satisfies(monoVersion, '>=5.8.1');
241241

242242
// If the user specifically said that they wanted to launch on Mono, respect their wishes.
243243
if (options.useGlobalMono === "always") {
244244
if (!isValidMonoAvailable) {
245-
throw new Error('Cannot start OmniSharp because Mono version >=5.2.0 is required.');
245+
throw new Error('Cannot start OmniSharp because Mono version >=5.8.1 is required.');
246246
}
247247

248248
const launchPath = launchInfo.MonoLaunchPath || launchInfo.LaunchPath;

0 commit comments

Comments
 (0)