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
find-packages command fails when using UNC paths
Description
The
find-packages
command fails when using UNC paths.Here is a copy of my
paket.dependencies
file:When I run this command:
I get this error:
But if I run this command:
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 pathRun
dotnet paket find-packages FSharp.Core
Expected behavior
The
find-packages
command should work with UNC paths and include the packages from the UNC path in the results.Actual behavior
The
find-packages
command fails with aDirectoryNotFoundException
.Known workarounds
Add the
--source <source URL>
option to thefind-packages
command when you know the package is in a specific source.