Skip to content

Commit 7245274

Browse files
Ensure that mono --assembly-loader flag is passed
1 parent 59b8722 commit 7245274

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/omnisharp/launcher.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ function launchNixMono(launchPath: string, cwd: string, args: string[]): Promise
272272
return canLaunchMono()
273273
.then(() => {
274274
let argsCopy = args.slice(0); // create copy of details args
275+
argsCopy.unshift("--assembly-loader=strict");
275276
argsCopy.unshift(launchPath);
276277

277278
let process = spawn('mono', argsCopy, {

0 commit comments

Comments
 (0)