You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details:
Failure
{Messages = seq [];
Exception =
System.Exception: Start of process C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\fsi.exe failed. The handle is invalid.
at [email protected](String message) in C:\code\fake\src\app\FakeLib\ProcessHelper.fs:line 87
at Fake.ProcessHelper.ExecProcessWithLambdas(FSharpFunc`2 configProcessStartInfoF, TimeSpan timeOut, Boolean silent, FSharpFunc`2 errorF, FSharpFunc`2 messageF) in C:\code\fake\src\app\FakeLib\ProcessHelper.fs:line 87
at Fake.ProcessHelper.ExecProcessRedirected(FSharpFunc`2 configProcessStartInfoF, TimeSpan timeOut) in C:\code\fake\src\app\FakeLib\ProcessHelper.fs:line 131
at Fake.FSIHelper.executeFSIWithScriptArgsAndReturnMessages(String script, String[] scriptArgs) in C:\code\fake\src\app\FakeLib\FSIHelper.fs:line 192
at Fake.DeploymentHelper.doDeployment(String scriptFileName, String[] scriptArgs) in C:\code\fake\src\app\Fake.Deploy\DeploymentHelper.fs:line 88;
IsError = true;}
Repro steps
Please provide the steps required to reproduce the problem
Download FAKE version 4.44.2+ or later on remote server.
Deploy NuGet Package to that remote server.
Expected behavior
Excepted behavior is successfull remote deployment.
Actual behavior
Deployment fails and returns the stack trace given at the top of this post. I modified exception catching code to return more details about the exception on my machine here are the results.
Details:
Failure
{Messages = seq [];
Exception =
System.Exception: Start of process C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\fsi.exe |
Start Info:ProcessInfo:
Args:"C:\nuget\FAKE\tools\deployments\DeployPackage\Deploy.fsx "
Working dir: ""
UserName: ""
isMono: false
| failed. The handle is invalid.
| Stack trance: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Console.set_OutputEncoding(Encoding value)
at Fake.ProcessHelper.start(Process proc)
at Fake.ProcessHelper.ExecProcessWithLambdas(FSharpFunc`2 configProcessStartInfoF, TimeSpan timeOut, Boolean silent, FSharpFunc`2 errorF, FSharpFunc`2 messageF)
at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1360.Invoke(String message)
at [email protected](String arg40)
at Fake.ProcessHelper.ExecProcessWithLambdas(FSharpFunc`2 configProcessStartInfoF, TimeSpan timeOut, Boolean silent, FSharpFunc`2 errorF, FSharpFunc`2 messageF)
at Fake.ProcessHelper.ExecProcessRedirected(FSharpFunc`2 configProcessStartInfoF, TimeSpan timeOut)
at Fake.FSIHelper.executeFSIWithScriptArgsAndReturnMessages(String script, String[] scriptArgs)
at Fake.DeploymentHelper.doDeployment(String scriptFileName, String[] scriptArgs) in C:\code\fake\src\app\Fake.Deploy\DeploymentHelper.fs:line 88;
IsError = true;}
Known workarounds
Based on the stack trace,
at System.Console.set_OutputEncoding(Encoding value)
at Fake.ProcessHelper.start(Process proc)
the offending line of code is this. System.Console.OutputEncoding <- System.Text.Encoding.UTF8
Looking at git blame for that line, it looks like this code was introduced in 4.44.2 by (7afa219). Dowgrading to 4.44.1 or earlier versions resolves this issue.
Related information
Operating system: Windows Server 2012
Branch: Master
.NET Runtime 4.5
The text was updated successfully, but these errors were encountered:
Description
Deployment fails with stack trace
Repro steps
Please provide the steps required to reproduce the problem
Download FAKE version 4.44.2+ or later on remote server.
Deploy NuGet Package to that remote server.
Expected behavior
Excepted behavior is successfull remote deployment.
Actual behavior
Deployment fails and returns the stack trace given at the top of this post. I modified exception catching code to return more details about the exception on my machine here are the results.
Known workarounds
Based on the stack trace,
the offending line of code is this.
System.Console.OutputEncoding <- System.Text.Encoding.UTF8
Looking at git blame for that line, it looks like this code was introduced in 4.44.2 by (7afa219). Dowgrading to 4.44.1 or earlier versions resolves this issue.
Related information
The text was updated successfully, but these errors were encountered: