Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
Use same executable for out-of-process build. Fix #1022.
Browse files Browse the repository at this point in the history
  • Loading branch information
iskiselev committed Nov 2, 2016
1 parent b4f2ff8 commit cbfb36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/SolutionBuilder.cs
Expand Up @@ -159,7 +159,7 @@ public static class SolutionBuilder {
pipeId, PipeDirection.InOut, 1, PipeTransmissionMode.Message, PipeOptions.Asynchronous
)) {
var psi = new ProcessStartInfo {
FileName = JSIL.Internal.Util.GetPathOfAssembly(Assembly.GetExecutingAssembly()),
FileName = Process.GetCurrentProcess().MainModule.FileName,
Arguments = String.Format("--buildSolution {0}", pipeId),
WorkingDirectory = Environment.CurrentDirectory,
CreateNoWindow = false,
Expand Down

0 comments on commit cbfb36a

Please sign in to comment.