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

Error: One Paket file '' is missing while restoring #4283

Open
daniellittledev opened this issue Jan 7, 2025 · 0 comments
Open

Error: One Paket file '' is missing while restoring #4283

daniellittledev opened this issue Jan 7, 2025 · 0 comments

Comments

@daniellittledev
Copy link
Contributor

Description

I'm getting an unexpected error.

\.paket\Paket.Restore.targets(226,3): error : One Paket file '' is missing while restoring Web.csproj. Please delete
 'paket-files/paket.restore.cached' and call 'paket restore'. [C:\dev\myrepo\src\Web\Web.
csproj]

Repro steps

I'm using paket with an System.Web project (for SDK style csproj)
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

I used the paket convert-from-nuget command to set paket up.

I'm then trying to do a paket install, interestingly another proj in the solution is also missing a dll from a referenced package. Not sure if this is related.

Expected behavior

Package install works with no errors.

Actual behavior

I get the error Paket.Restore.targets(226,3): error : One Paket file '' is missing while restoring

Known workarounds

It seems to install correctly and a following restore has no errors.

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

No branches or pull requests

1 participant