fsprojects / fsprojects/Paket

Adding framework assemblies from GAC

Open
#3,296 2 comments 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

Description

This is a feature request. I searched the docs and the open issues and I am fairly certain this is not existing and not a duplicate.

What I want is to be able to repair my project file by deleting all of the project references and the entire bin folder, then run Paket and have all the dependencies put back correctly.

If I do this right now I lose dependencies on .Net Framework assemblies because not many NuGet packages define these, and anyway my application code might need something that none of the NuGet packages needs.

My suggestion is to extend the syntax of the paket.dependencies file to include a gac keyword at the start of the line, so my paket.dependencies might be

framework: net40
source https://nuget.org/api/v2
nuget NUnit
gac System
gac System.Data
gac System.Xml

Then in my paket.references I could put

NUnit
System
Syatem.Data
System.Xml

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 reviewing Paket's handling of paket.dependencies and paket.references, then determine how .NET Framework assemblies from the GAC would fit the existing dependency workflow. Done means the proposed gac entries can restore the listed framework assemblies after project references and bin are removed, with appropriate validation for the syntax and references.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, 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.