Skip to content

Commit 75f31d1

Browse files
committed
Fix default options.
1 parent 1f36112 commit 75f31d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@
867867
},
868868
"omnisharp.useModernNet": {
869869
"type": "boolean",
870-
"default": "false",
870+
"default": false,
871871
"scope": "window",
872872
"title": "Use .NET 6 build of OmniSharp (experimental)",
873873
"description": "Use OmniSharp build for .NET 6. This version _does not_ support non-SDK-style .NET Framework projects, including Unity. SDK-style Framework, .NET Core, and .NET 5+ projects should see significant performance improvements, but there may still be bugs. Please open issues if you find any bugs."

src/omnisharp/options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class Options {
5555
const razorConfig = vscode.workspace.getConfiguration('razor');
5656

5757
const path = Options.readPathOption(csharpConfig, omnisharpConfig);
58-
const useFramework = omnisharpConfig.get<boolean>("useModernNet");
58+
const useModernNet = omnisharpConfig.get<boolean>("useModernNet", false);
5959
const useGlobalMono = Options.readUseGlobalMonoOption(omnisharpConfig, csharpConfig);
6060
const monoPath = omnisharpConfig.get<string>('monoPath', undefined) || undefined;
6161

@@ -110,7 +110,7 @@ export class Options {
110110

111111
return new Options(
112112
path,
113-
useFramework,
113+
useModernNet,
114114
useGlobalMono,
115115
waitForDebugger,
116116
loggingLevel,

0 commit comments

Comments
 (0)