fsprojects / fsprojects/Paket

Paketized .NET SDK 2.0 projects using paket.references don't seem to work so well in VS for Mac

Open
#3,029 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

I'm using paket happily on my Mac.

However I've had several occasions where I've had strange behaviour with new-style .NET SDK 2.0 paket.references projects, especially after opening the project in VS for Mac. In each case the implicitly referenced DLLs just stopped being referenced

Initially this happened visibly when building from VS for Mac. However the behaviour also persisted when I went back to the command line and used msbuild again, which makes me thing that some cached file of computed references was corrupted by VS for Mac.

If we get a reliable repro or if this sounds like another bug reported elsewhere then we can plausibly get a bug fix into VS for Mac

Workaround

Avoid using paket.references with .NET SDK 2.0-style projects that you want to be able to edit with VS for Mac

Repro steps

Exact repro steps TBD - I mainly want to know if this is a known issue yet

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 issue names no files, tests, or entry points, and its exact reproduction steps are still TBD. Start by establishing a reliable reproduction involving paket.references, .NET SDK 2.0 projects, VS for Mac, and msbuild; done means documenting the reproduction and determining whether the behavior is a known issue.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.