Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When lockfiles updates make sure to recompile #2099

Open
matthid opened this issue Sep 22, 2018 · 1 comment
Open

When lockfiles updates make sure to recompile #2099

matthid opened this issue Sep 22, 2018 · 1 comment

Comments

@matthid
Copy link
Member

matthid commented Sep 22, 2018

Description

Script reported an error:
-> BuildFailedException: Target '_DotNetPackage' failed.
-> One or more errors occurred. (Method not found: 'Void PackOptions..ctor(Options, BuildConfiguration, 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 PackOptions..ctor(Options, BuildConfiguration, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Microsoft.FSharp.Core.FSharpOption`1<System.String>, Boolean)'.

If some records are updated there might be a reference to no longer existing constructors.
Fake should make sure to re-compile the script.

Expected behavior

Recompile.
No Error

Actual behavior

Fake didn't recompile the script (as there were no changes)

MissingMethodException

Known workarounds

  • rm -rf .fake
  • run fake again
@github-actions
Copy link
Contributor

github-actions bot commented Dec 1, 2019

There has not been any activity in this issue for the last 3 months so it will be closed in 14 days if there is no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants