fsprojects / fsprojects/Paket

Support for target framework specific content

Open
#1,300 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement msbuild proj nupkg spec sdk: verbose sdk up-for-grabs
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

NuGet allows packages to specify different content files for different frameworks: Grouping content files and PowerShell scripts by target framework

But Paket doesn't seem to support adding only the content files in a target framework dependant way. For example, when I install System.Data.SQLite.Core I get all content for all different frameworks added, which doesn't work:
image

I would expect to just have the x86 and x64 for the current target framework. Perhaps this can be done using the conditional method like target framework specific DLL references?

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 reading the linked NuGet documentation on grouping content files and PowerShell scripts by target framework, then trace Paket's content-file handling for framework-specific package installation. Confirm the behavior with System.Data.SQLite.Core across target frameworks; done means only content for the current framework, including the appropriate x86 or x64 files, is added.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
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.