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
{{ message }}
Repository navigation
find-packages command fails when using UNC paths #4243
Paket version 8.0.3+75b30cdcb8859e8d129f139444d9b9b600bfff07
Total time taken: 211 milliseconds
Paket failed with
-> DirectoryNotFoundException: Could not find a part of the path 'C:\Users\remond\perso\github\NugetHelper\~\nuget'.
But if I run this command:
dotnet paket add FSharp.Core
It works fine.
Repro steps
Steps to reproduce the problem
dotnet new tool-manifest
dotnet tool install paket
dotnet paket init
Modify paket.dependencies to add a source with a UNC path
Thanks for the report! I traced this to Dependencies.FindPackagesByNameAsync (used by find-packages), which was passing the raw local source path straight to the file search without normalizing ~ home-directory shorthand first — unlike other local-feed code paths in Paket that already do this. I've opened a draft PR with a fix and a regression test: it should resolve the DirectoryNotFoundException for ~/... local sources.
Generated by 🌈 Repo Assist, see workflow run. Learn more. Comment /repo-assist to run again
Add this agentic workflow to your repo
To install this agentic workflow, run
gh aw add githubnext/agentics/workflows/repo-assist.md@ae8d551f07c7ed7619f8c58c7bb4c3ac89395d38
Activity
Fix find-packages failing on ~ home-directory local NuGet feed paths (#…
github-actions commentedon Sep 1, 2026
🤖 This is an automated response from Repo Assist.
Thanks for the report! I traced this to
Dependencies.FindPackagesByNameAsync(used byfind-packages), which was passing the raw local source path straight to the file search without normalizing~home-directory shorthand first — unlike other local-feed code paths in Paket that already do this. I've opened a draft PR with a fix and a regression test: it should resolve theDirectoryNotFoundExceptionfor~/...local sources.Add this agentic workflow to your repo
To install this agentic workflow, run