Skip to content

Commit 58a77cf

Browse files
committed
Merge branch 'optionStream' of https://github.com/akshita31/omnisharp-vscode into optionStream
2 parents 0eed3eb + d6adc45 commit 58a77cf

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
@@ -235,12 +235,12 @@ async function launch(cwd: string, args: string[], launchInfo: LaunchInfo, platf
235235
}
236236

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

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

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

0 commit comments

Comments
 (0)