Skip to content

Commit 524ea4a

Browse files
authored
Merge pull request #1350 from robkuz/Fix_DLL_References
Fix multiple references for DLL
2 parents 8fd20ae + ebf16c5 commit 524ea4a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/app/FakeLib/FscHelper.fs

+6-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,12 @@ type FscParam =
392392
| NoInterfacedata -> arg "nointerfacedata"
393393
| Sig file -> argp "sig" file
394394
| Reference dllPath -> sargp "r" dllPath
395-
| References dllPaths -> dllPaths |> List.map (sargp "r") |> String.concat " "
395+
| References dllPaths ->
396+
dllPaths
397+
|> List.map (sargp "r")
398+
|> List.map (fun x -> sprintf "\"%s\"" x)
399+
|> String.concat " "
400+
|> (fun x -> x.Substring(1, x.Length - 2))
396401
| Win32res file -> argp "win32res" file
397402
| Win32Manifest file -> argp "win32manifest" file
398403
| NoWin32Manifest -> arg "nowin32manifest"

0 commit comments

Comments
 (0)