microsoft / microsoft/AdaptiveCards

Optimise dependencies based on framework

Open
#9,173 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.

I want to minimise dependencies in my project by utilising framework dependencies wherever possible

Describe the solution you'd like

I want System.Net.Http to no longer be an explicit dependency on net 6+. It should be checked what TFM Microsoft.CSharp should be included on

Describe alternatives you've considered

Accept the additional dependency

Additional context

No response

Contributor guide

Open the contributing guide

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

No files or tests are named. Start by locating the project dependency declarations and target framework settings, then inspect how System.Net.Http and Microsoft.CSharp are referenced for net 6+ and other TFMs. Done means the unnecessary explicit dependency is removed where framework-provided and Microsoft.CSharp is included only for the appropriate target frameworks, with the affected projects still building.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Feature
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.