Open JarrodJ83 opened 3 years ago
I'm trying with a different github repo but the issue persists. The package gets built successfully but paket.references tries to look for the package on nuget.org.
The local paket-files/* path is not generated in the lock file. This is on paket version 6.0.10.
Description
I know this is similar to a couple other open issues but none seemed to point to the specific case of using a git repo as a nuget source.
I've tried to follow the guide here: https://fsprojects.github.io/Paket/git-dependencies.html#Using-Git-repositories-as-NuGet-source but things are still being referenced using the nuget package that is from nuget.org instead of the one locally built by Paket using the build.cmd file from the repo.
Repro steps
Here is the build file within the repo that I want to include as a reference. It builds the nuget packages and puts them into a directory just as the example does: https://github.com/JarrodJ83/pulsar-client-dotnet/blob/develop/build.cmd
My dependencies files looks like:
run
dotnet paket install
The build files run fine locally and the nuget packages are in the
pulsar-client-pkg
paket-files directory in the folder I expect.Expected behavior
Expecting the Pulsar.Client NuGet reference in my lock file to point at the local repo in paket-files
Actual behavior
The nuget remote is still pointed to nuget.org instead of the repo.
Known workarounds
No known workarounds.