Skip to content

Commit 0eb51c6

Browse files
Fix launching OmniSharp on Mono
1 parent cd7d947 commit 0eb51c6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/omnisharp/launcher.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,12 @@ function launch(cwd: string, args: string[], kind: LaunchTargetKind): Promise<La
169169
return launchWindows(launchPath, cwd, args);
170170
}
171171
else {
172-
return launchNix(launchPath, cwd, args);
172+
if (kind === LaunchTargetKind.Solution) {
173+
return launchNixMono(launchPath, cwd, args);
174+
}
175+
else {
176+
return launchNix(launchPath, cwd, args);
177+
}
173178
}
174179
});
175180
}

0 commit comments

Comments
 (0)