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 }}
Repository navigation
[FAKE Support] Broken after latest FCS Update #561
Newer FCS versions have introduced new optional parameters to the FSharpChecker.Create call, and the Fake Support uses YaafFSharpScripting which hasn't yet been updated. This means we get the following exception at runtime:
[10:00:04 ERR] [Opts] Error in FAKE script support
System.TypeInitializationException: The type initializer for '<StartupCode$Fake-Runtime>.$YaafFSharpScripting' threw an exception. --->
System.MissingMethodException: Method not found: 'FSharp.Compiler.SourceCodeServices.FSharpChecker FSharp.Compiler.SourceCodeServices.FSharpChecker.Create(Microsoft.FSharp.Core.FSharpOption`1<Int32>, Microsoft.FSharp.Core.FSharpOption`1<Boolean>, Microsoft.FSharp.Core.FSharpOption`1<Boolean>, Microsoft.FSharp.Core.FSharpOption`1<Resolver>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<System.Tuple`2<System.String,System.DateTime>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`3<System.Object,IntPtr,Int32>>>>, Microsoft.FSharp.Core.FSharpOption`1<Boolean>)'.
We need to update YaafFSharpScripting and then update FSAC to make FAKE Support work again.
Activity
baronfel commentedon Feb 27, 2020
cc @matthid do you have time to help here? If not I can maybe take a look this weekend.
matthid commentedon Feb 27, 2020
I think FakeRuntime uses it's own version of this file so we need to update in fake only. I'll not give any promises at the moment...
baronfel commentedon Feb 27, 2020
Thanks for the clarification! I'll take a stab at it there then.
Krzysztof-Cieslak commentedon Mar 9, 2020
I guess this is fixed.