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

Paket crash when --no-install is specified on update with generate_include_scripts #2785

Open
matthid opened this issue Sep 22, 2017 · 0 comments

Comments

@matthid
Copy link
Member

matthid commented Sep 22, 2017

Description

Original report: fsprojects/FAKE#1672
But this reproduces with paket standalone as well...

This issue only reproduces when a clear state is used (ie packages, paket-files and paket.lock as well as .paket/load deleted):

paket.dependencies

source https://api.nuget.org/v3/index.json
generate_load_scripts: true
nuget Fake.Core.Targets prerelease

group External
    source https://api.nuget.org/v3/index.json

    nuget Google.Protobuf.Tools prerelease

.paket/paket.exe update --no-install --group Main

Paket failed with
-> Folder C:\proj\testing\packages\runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl doesn't exist. Did you restore groups Main?

Expected behavior

Paket executes a restore even when --no-install is specified.

Actual behavior

Paket doesn't execute a restore and obviously fails when trying to generate load scripts.

Known workarounds

do a restore after the error.

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