fsprojects / fsprojects/Paket

paket.template: support "framework: xyz" in frameworkAssemblies

Open
#3,063 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

In a paket.template file, it is currently possible to specify dependencies for a specific framework:

dependencies
  framework: net45
    NUnit

which creates this nuspec bit:

<dependencies>
  <group targetFramework="net461">
    <dependency id="NUnit" version="0.0" />
  </group>
</dependencies>

but the same does not work for frameworkAssemblies:

frameworkAssemblies
  framework: net45
    System.Web

which should create this nuspec bit:

<frameworkAssemblies>
  <frameworkAssembly assemblyName="System.Web" targetFramework="net45" />
</frameworkAssemblies>

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

Inspect how paket.template parses framework-specific dependencies, then compare that path with frameworkAssemblies and trace the nuspec generation. Confirm that a frameworkAssemblies entry such as System.Web under framework: net45 produces a frameworkAssembly element with the expected assemblyName and targetFramework attributes.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.