fsprojects / fsprojects/Paket

Is there a way that I can make it exclude targets framework and only include .net?

Open
#2,992 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I have a solution for .net framework 4.6.1 and nuget.
All of the projects in the solution are on the same version of .net framework.
I convert-from-nuget and my project files (.csproj) become double the size because of all the unnecessary target frameworks added to them, for .netcore and .net standard.

I can always remove them manually but there are lots of projects and it will be too much work.
I know that it still works but I don't find it nice to check this big amount of unused code in to our repository.

Is there a way that I can make it exclude all those targets and only inlcude .net?

Repro steps

Follow the steps for converting a solution from nuget to paket.

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 issue's NuGet-to-Paket conversion for a solution targeting .NET Framework 4.6.1, then inspect the generated .csproj files and the conversion entry point. Determine where unnecessary .NET Core and .NET Standard target frameworks are added; done means conversion keeps only the requested .NET Framework target across the solution.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.