fsprojects / fsprojects/Paket

Paket with net core 3.0 fails

Open
#3,678 7 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

Description

When running as part of dotnet build for a NET Core 3.0 solution, paket fails with an error message:

Extracting platforms from path '${targetFramework}' failed, a newer Paket version might support it, otherwise please open an issue for a missing platform handler.

Strangely, when I build from Visual Studio, all is fine. And after once building from there, dotnet build works, too. Unfortunately, I cannot apply this workaround on my build agent.

The NET Core SDK version is 3.0.100.
The Paket version is 5.220.0.

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

Reproduce the failure with dotnet build on the NET Core 3.0 solution using SDK 3.0.100 and Paket 5.220.0, then compare it with a Visual Studio build. No source file or test is named; done means the build-agent invocation completes without the missing platform-handler error and the workaround is no longer required.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.