fsprojects / fsprojects/Paket

How do I reference a Git dependency in my project?

Open
#3,756 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

I would like to use a Git dependency in my project. The Git repo contains .fsproj files, so I would expect referencing to be possible.

Repro steps

Please provide the steps required to reproduce the problem

  1. Add the Git dependency to paket.dependencies at the "solution" level.
git https://github.com/org/proj.git
  1. Install the packages.
dotnet paket install

Paket fetches the files and puts them into paket-files 👍

  1. Add the Git package to paket.references of my project.

How?

Expected behavior

I should be able to reference the Git dependency somehow.

Actual behavior

I cannot find a way to reference the Git dependency. The docs do not explain what to do.

Known workarounds

Create a NuGet package instead?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Git dependencies documentation linked in the issue and reproduce the setup using paket.dependencies, paket.references, paket-files, and dotnet paket install. Determine whether the fetched .fsproj files have a supported reference workflow, then update the documentation to explain the required steps or the limitation clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp, git
Domain
tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.