We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aff62a2 + b761f99 commit 9303556Copy full SHA for 9303556
src/app/FakeLib/FSIHelper.fs
@@ -339,6 +339,12 @@ let internal runFAKEScriptWithFsiArgsAndRedirectMessages printDetails (FsiArgs(f
339
let di = Directory.CreateDirectory cacheDir.FullName
340
di.Attributes <- FileAttributes.Directory ||| FileAttributes.Hidden
341
342
+ let destinationFile = FileInfo(assemblyPath.Value)
343
+ let targetDirectory = destinationFile.Directory
344
+
345
+ if (not <| targetDirectory.Exists) then targetDirectory.Create()
346
+ if (destinationFile.Exists) then destinationFile.Delete()
347
348
File.Move("FSI-ASSEMBLY.dll", assemblyPath.Value)
349
350
if File.Exists("FSI-ASSEMBLY.pdb") then
0 commit comments