Skip to content

Commit 3bcd841

Browse files
committed
Make Mono 6.4.0 the required version
1 parent 4acb01d commit 3bcd841

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -661,11 +661,11 @@
661661
"never"
662662
],
663663
"enumDescriptions": [
664-
"Automatically launch OmniSharp with \"mono\" if version 5.8.1 or greater is available on the PATH.",
665-
"Always launch OmniSharp with \"mono\". If version 5.8.1 or greater is not available on the PATH, an error will be printed.",
664+
"Automatically launch OmniSharp with \"mono\" if version 6.4.0 or greater is available on the PATH.",
665+
"Always launch OmniSharp with \"mono\". If version 6.4.0 or greater is not available on the PATH, an error will be printed.",
666666
"Never launch OmniSharp on a globally-installed Mono."
667667
],
668-
"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."
668+
"description": "Launch OmniSharp with the globally-installed Mono. If set to \"always\", \"mono\" version 6.4.0 or greater must be available on the PATH. If set to \"auto\", OmniSharp will be launched with \"mono\" if version 6.4.0 or greater is available on the PATH."
669669
},
670670
"omnisharp.monoPath": {
671671
"type": [

src/omnisharp/OmniSharpMonoResolver.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import { IMonoResolver } from '../constants/IMonoResolver';
1010
import { MonoInformation } from '../constants/MonoInformation';
1111
import { IGetMonoVersion } from '../constants/IGetMonoVersion';
1212

13-
export class OmniSharpMonoResolver implements IMonoResolver {
14-
private minimumMonoVersion = "6.6.0";
15-
13+
export class OmniSharpMonoResolver implements IMonoResolver {
14+
private minimumMonoVersion = "6.4.0";
15+
1616
constructor(private getMonoVersion: IGetMonoVersion) {
1717
}
1818

@@ -24,7 +24,7 @@ export class OmniSharpMonoResolver implements IMonoResolver {
2424
env['MONO_GAC_PREFIX'] = options.monoPath;
2525
monoPath = options.monoPath;
2626
}
27-
27+
2828
let version = await this.getMonoVersion(env);
2929

3030
return {

test/unitTests/omnisharp/OmniSharpMonoResolver.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ suite(`${OmniSharpMonoResolver.name}`, () => {
1919

2020
const monoPath = "monoPath";
2121

22-
const lowerMonoVersion = "6.4.0";
23-
const requiredMonoVersion = "6.6.0";
24-
const higherMonoVersion = "6.8.0";
22+
const lowerMonoVersion = "6.2.0";
23+
const requiredMonoVersion = "6.4.0";
24+
const higherMonoVersion = "6.6.0";
2525

2626
const getMono = (version: string) => async(env: NodeJS.ProcessEnv) => {
2727
getMonoCalled = true;

0 commit comments

Comments
 (0)