Skip to content

Commit 44b88ac

Browse files
committed
on mono just call 'sn' directly instead of local sn.exe
1 parent 9557a08 commit 44b88ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/build.fsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Target "Test" (fun _ ->
6060
let keyFile = "build/keys/keypair.snk"
6161

6262
let createKeys = fun _ ->
63-
let sn = "build/tools/sn/sn.exe"
63+
let sn = if isMono then "sn" else "build/tools/sn/sn.exe"
6464
ExecProcess(fun p ->
6565
p.FileName <- sn
6666
p.Arguments <- sprintf @"-k %s" keyFile
@@ -77,7 +77,7 @@ Target "CreateKeysIfAbsent" (fun _ ->
7777
)
7878

7979
let validateSignedAssembly = fun name ->
80-
let sn = "build/tools/sn/sn.exe"
80+
let sn = if isMono then "sn" else "build/tools/sn/sn.exe"
8181
let out = (ExecProcessAndReturnMessages(fun p ->
8282
p.FileName <- sn
8383
p.Arguments <- sprintf @"-v build\output\%s\%s.dll" name name

0 commit comments

Comments
 (0)