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
{{ message }}
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.
When working in Linux I get lot's of "Input string was not in a correct format" when working with forge.
You can reproduce with:
forge new project -t console -n ForgeTest --folder ForgeTest
this outputs on my machine:
Forge should be run from solution/repository root. Please ensure you don't run it from folder containing other solutions
Do You want to continue? [Y/n]
Generating project...
Creating /coding/ForgeTest/ForgeTest
/coding/Languages/Fsharp/Forge/temp/bin/../templates/console/App.config => /coding/ForgeTest/ForgeTest/App.config
/coding/Languages/Fsharp/Forge/temp/bin/../templates/console/ApplicationName.fs => /coding/ForgeTest/ForgeTest/ApplicationName.fs
/coding/Languages/Fsharp/Forge/temp/bin/../templates/console/ApplicationName.fsproj => /coding/ForgeTest/ForgeTest/ApplicationName.fsproj
/coding/Languages/Fsharp/Forge/temp/bin/../templates/console/paket.references => /coding/ForgeTest/ForgeTest/paket.references
mono "/coding/.paket/paket.exe" init
Paket version 4.8.7
Saving file /coding/paket.dependencies
/coding/.paket/paket.targets
Downloading file from https://github.com/fsprojects/Paket/releases/download/4.8.7/paket.targets to /coding/.paket/paket.targets
4 seconds - ready.
mono "/coding/.paket/paket.exe" add nuget FSharp.Core --no-install
Ignoring the following unknown argument(s): nuget, FSharp.Core, --no-install
Checking Paket version (version add requested)...
Input string was not in a correct format. (Github - cached)
mono "/coding/.paket/paket.exe" install
Checking Paket version (version install requested)...
Input string was not in a correct format. (Github - cached)
mono "/coding/.paket/paket.exe" add nuget FAKE
Ignoring the following unknown argument(s): nuget, FAKE
Checking Paket version (version add requested)...
Input string was not in a correct format. (Github - cached)
Done!
Expected Behavior
get a working console project
Current Behavior
get the same kind of errors when doing a ./build.sh
maybe this is an deeper issue as I cannot rebuild Forge anymore on my system as well - there I get a MethodNotSupported Exception with FAKE:
Error: System.NotSupportedException: Type 'FSI_0005.Build' was not completed.
at System.Reflection.Emit.ModuleBuilder.Save () [0x00048] in <a07d6bf484a54da2861691df910339b1>:0
at System.Reflection.Emit.AssemblyBuilder.Save (System.String assemblyFileName, System.Reflection.PortableExecutableKinds portableExecutableKind, System.Reflection.ImageFileMachine imageFileMachine) [0x0022b] in <a07d6bf484a54da2861691df910339b1>:0
at System.Reflection.Emit.AssemblyBuilder.Save (System.String assemblyFileName) [0x00000] in <a07d6bf484a54da2861691df910339b1>:0
at Fake.FSIHelper.handleCaching[a] (System.Boolean printDetails, Yaaf.FSharp.Scripting.IFsiSession session, a fsiErrorOutput, System.IO.DirectoryInfo cacheDir, Fake.FSIHelper+CacheInfo cacheInfo) [0x00046] in <572063baccf1c534a7450383ba632057>:0
When working in Linux I get lot's of "Input string was not in a correct format" when working with forge.
You can reproduce with:
this outputs on my machine:
Expected Behavior
get a working console project
Current Behavior
get the same kind of errors when doing a
./build.sh
Your Environment
Mono 5.0.1.1
F# 4.1
dotnet-core:
Product Information:
Version: 1.0.1
Commit SHA-1 hash: 005db40cd1
Runtime Environment:
OS Name: linuxmint
OS Version: 18.1
OS Platform: Linux
RID: ubuntu.16.04-x64
Base Path: /usr/share/dotnet/sdk/1.0.1
The text was updated successfully, but these errors were encountered: