fsprojects / fsprojects/Paket

Xamarin and Java references wrongly added to load script?

Open
#3,697 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I've created a repro here: https://github.com/isaacabraham/paket-xamarin. Creating this paket lock results in the following (apparently "bad") lines being added to the load-scripts file:

Not sure why they're added!

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 by reproducing the problem in the linked paket-xamarin repository and inspect .paket/load/main.group.fsx alongside the generated paket lock. Trace why Java.Interop, System.Drawing.Common, and Xamarin.Mac are included in the load script; done means the cause is identified and the generated references match the intended package graph.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp, java
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.