File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/fsharp/FSharp.Compiler.Service.ProjectCracker Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,10 @@ type ProjectCracker =
6060 arguments.Append( ' ' ) .Append( k) .Append( ' ' ) .Append( v) |> ignore
6161 let codebase = Path.GetDirectoryName( Uri( typeof< ProjectCracker>. Assembly.CodeBase) .LocalPath)
6262
63+ let crackerFilename = Path.Combine( codebase, " FSharp.Compiler.Service.ProjectCrackerTool.exe" )
64+ if not ( File.Exists crackerFilename) then failwithf " ProjectCracker exe not found at: %s it must be next to the ProjectCracker dll." crackerFilename
6365 let p = new System.Diagnostics.Process()
64- p.StartInfo.FileName <- Path.Combine ( codebase , " FSharp.Compiler.Service.ProjectCrackerTool.exe " )
66+ p.StartInfo.FileName <- crackerFilename
6567 p.StartInfo.Arguments <- arguments.ToString()
6668 p.StartInfo.UseShellExecute <- false
6769 p.StartInfo.CreateNoWindow <- true
You can’t perform that action at this time.
0 commit comments