fsprojects / fsprojects/Paket

Control the path separator in fsproj file

Open
#4,085 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

We are currently using Paket in a team where there is a mix of OS'es.
In our fsproj, we settled that we would use / instead of \ for all paths.
Each time we install a new package via dotnet paket install, all our fsproj files are updated and the / is changed to \.

image

Repro steps

Normal usage of paket. Even when starting from scratch on Linux the Import will contains \.

dotnet new classlib -lang F# -n paket-test
cd paket-test
dotnet tool install paket
dotnet paket convert-from-nuget
Expected behavior

It would be nice if there was a way to control the path separator.

Actual behavior

Paket always seems to use \.

Known workarounds

Fixing this manually after each install.

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 repro commands in the issue and trace where Paket generates or updates fsproj Import paths. Identify how path separators are selected and where a user-facing setting could apply. Done means installs can preserve or select / instead of always writing \, with the behavior covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
build-system, cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.