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
When changing from storage: none to removing that line and doing a paket install thereafter.
Repro steps
Please provide the steps required to reproduce the problem
./build.fsx with code
// Define general properties across various commands (with arguments)
let inline withWorkDir wd =
DotNet.Options.lift install.Value
>> DotNet.Options.withWorkingDirectory wd
>> DotNet.Options.withCustomParams (Some (sprintf "/p:Configuration=%s" buildMode))
// Set general properties without arguments
let inline dotnetSimple arg = DotNet.Options.lift install.Value arg
Step B
Build it
Expected behavior
No crash
Actual behavior
Script reported an error:
-> BuildFailedException: Target 'BuildAPI' failed.
-> One or more errors occurred. (Method not found: 'Void BuildOptions..ctor(Options, BuildConfiguration, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Boolean)'.)
-> MissingMethodException: Method not found: 'Void BuildOptions..ctor(Options, BuildConfiguration, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Boolean)'.
@haf have you checked? It could also be another dependency depending on one of the fake modules depending on a API which we do (historically) not consider to be binary compatible.
Or we simply introduced a breaking change somewhere
Description
Method not found: 'Void BuildOptions
When changing from
storage: none
to removing that line and doing apaket install
thereafter.Repro steps
Please provide the steps required to reproduce the problem
./build.fsx
with codeBuild it
Expected behavior
No crash
Actual behavior
Part of diff from
paket install
:Invariants broken
paket update
, there are should be no updated packages, going fromstorage: none
to nothing about storage.Workaround
Downgrade all of FAKE manually, despite it being the same MAJOR version.
Related information
The text was updated successfully, but these errors were encountered: