fsprojects / fsprojects/Paket

paket install modifies SDK style projects in a weird way

Open
#4,143 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

With paket 7.1.4 for a few packages paket adds the following change:

grafik

Removing the line <?xml version="1.0" encoding="utf-8"?> fixes it again

Repro steps

I have no clue how to trigger this.

Expected behavior

paket pack works as before

Actual behavior

paket pack fails with indicating that the csproj file for the template in question is missing

Known workarounds

As above. Is there anything wrong with the file encoding of that csproj files? How can this even be, as all of this is stored in a Git repo?

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

The report names Paket 7.1.4, SDK-style .csproj files, and the paket install/pack flow, but no source file, test, or reproducible steps. Start by finding the project-file handling used by paket install and paket pack, then reproduce the unwanted XML change; done means paket pack succeeds without modifying the project incorrectly.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.