Skip to content

Commit 32b9472

Browse files
Merge pull request #874 from DustinCampbell/fix-mono-launch
Fix launching OmniSharp on Mono
2 parents cd7d947 + 0eb51c6 commit 32b9472

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)