question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Paket 5.145.0 fails to generate-load-scripts completely

See original GitHub issue

Description

Paket 5.145.0 fails to generate-load-scripts completely, at least on AppVeyor builds.

Repro steps

Please provide the steps required to reproduce the problem

  1. Create a Project Scaffold project referencing Microsoft.Azure.Management.Fluent
  2. Generate load scripts and reference the Microsoft.Azure.Management.Fluent script in build.fsx
  3. Create an AppVeyor build that calls paket.exe generate-load-scripts --group main --framework net462 --type fsx --silent
  4. Run the build on AppVeyor

Expected behavior

Load scripts should be correctly generated and referenced in build.fsx, and build should succeed.

Actual behavior

Build failed.
Error:
Could not find script '../Microsoft.Azure.Management.AppService.Fluent.fsx' in any paths searched. Searched paths:
[]
-------------------
 FAKE usage
-------------------
    fake.exe [<scriptPath>] [<targetName>] [options]
    scriptPath: Optional.  Path to your FAKE build script.  If not specified, FAKE will use the first .fsx file in the working directory and fail if none exists.
    
    targetName: Optional.  Name of the target you wish to run.  This will override the target you specifed to run in the build script.
                           When targetName is equal --listTargets or -lt FAKE will list the targets with their dependencies.
    Options:

Known workarounds

Use paket version 5.141.0. For magic mode, add <add key="PaketVersion" value="5.141.0"/> to the paket.exe.config appSettings section.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
panesofglasscommented, Feb 27, 2018

@matthid I can confirm that version works.

1reaction
matthidcommented, Feb 26, 2018

Yes something is wrong, I’m trying to fix 😕

Read more comments on GitHub >

github_iconTop Results From Across the Web

paket generate-load-scripts
This command was called generate-include-scripts in Paket 3. x and used to put files under paket-files/include-scripts instead of . paket/load .
Read more >
Paket 7.2.1
Note: if the paket build script fails at paket restore just rerun it a few times until it succeeds. Quick contributing guide. Fork...
Read more >
Chocolatey Software | Paket 6.0.0-rc006
Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages.
Read more >
Load dotnet project files in F# Interactive
This will generate F# scripts in ./.paket/load . There will be a load script for each dependency (and its transitive dependencies) and for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found