Open s952163 opened 7 years ago
The first error can be worked around fairly easily, by replacing ASCII.bytes "refreshed"
with ASCII.bytes "refreshed" |> ByteSegment
in build.fsx
.
However after updating build.fsx
to use the modern FAKE libraries, I start hitting problems - I'm guessing due to older FSharp.Literate
or FSharp.Formatting
etc. versions. Currently stuck on this:
System.TypeInitializationException: The type initializer for '<StartupCode$FSharp-Formatting-Common>.$YaafFSharpScripting' threw an exception. ---> System.TypeLoadException: Could not load type 'FSharp.Compiler.SourceCodeServices.FSharpChecker' from assembly 'FSharp.Compiler.Service, Version=25.0.1.0, Culture=neutral, PublicKeyToken=null'.
at <StartupCode$FSharp-Formatting-Common>.$YaafFSharpScripting..cctor()
--- End of inner exception stack trace ---
at Yaaf.FSharp.Scripting.Env.get_isMono()
at Yaaf.FSharp.Scripting.FsiOptions.get_Default()
at <StartupCode$FSharp-Literate>.$Evaluator.fsiOptions@103.Invoke(Unit _arg1)
at FSharp.Literate.FsiEvaluator..ctor(FSharpOption`1 options, FSharpOption`1 fsiObj)
at <StartupCode$FSI_0005>.$FSI_0005_Build$fsx.main@() in D:\Coding\WhatTheFSharp\FsReveal\build.fsx:line 50
Stopped due to error
running paket install or paket update breaks FSReveal:
build.cmd
slides are processed without an errorpaket update
it will download the various .NET core librariesbuild.cmd
will show the following output:FsiEvaluationException:
Error:
On Win7 with VS2015 On Win10 with VS2015 and VS2017
Workaround: do not run paket install or update