GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Dependency review to enable optimisations. · Issue #1811 · MessagePack-CSharp/MessagePack-CSharp

Dependency review to enable optimisations. #1811

New issue
Copy link
New issue
Copy link
Closed
#1812
Closed
Dependency review to enable optimisations.#1811
#1812
Copy link
Assignees
thompson-tomo
Milestone
v2.5

Description

@thompson-tomo
thompson-tomo
opened on May 6, 2024
Issue body actions

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.Runtime.CompilerServices.Unsafe to only be a dependency for net standard as this will reduce maintenance effort. At the same time, i would suggest doing a review of net standard dependencies.

Describe alternatives you've considered
Accept the additional dependency

Additional context
n/a

Activity

  1. AArnott
    self-assigned this
    on May 6, 2024
  2. thompson-tomo commented on May 6, 2024

    @thompson-tomo
    thompson-tomo
    on May 6, 2024
    ContributorAuthor
    More actions

    @AArnott would you like for me to give this a first pass/attempt similar to the other PR'S we have done?

    Reacted by Andrew Arnott
  3. AArnott
    assigned
    thompson-tomo
    and unassigned
    AArnott
    on May 6, 2024
  4. thompson-tomo
    added a commit that references this issue on May 6, 2024

    MessagePack-CSharp#1811 tweak dependencies.

    c5024ac
  5. thompson-tomo commented on May 6, 2024

    @thompson-tomo
    thompson-tomo
    on May 6, 2024
    ContributorAuthor
    More actions

    @AArnott i have started work on this & i am finding inconsistencies with what is on nuget.org. Could you help point me to where the packages are defined as what i am noticing is that isn't using the csproj so not sure why the deails hence dependencies are coming from.

  6. AArnott commented on May 6, 2024

    @AArnott
    AArnott
    on May 6, 2024
    Collaborator
    More actions

    I don't understand. The referenced packages all come from nuget.org. What exactly are you seeing to create the confusion?

  7. thompson-tomo commented on May 7, 2024

    @thompson-tomo
    thompson-tomo
    on May 7, 2024
    ContributorAuthor
    More actions

    When I look on nuget.org at the 2.5.140 version, I see System.Runtime.CompilerServices.Unsafe listed as a dependency however when I look at the csproj it ain't listed. Same result if I look at the latest preview. On looking at the csproj there is a property which further indicates to me that the packages are not built using csproj but something else which I can't locate

  8. AArnott commented on May 7, 2024

    @AArnott
    AArnott
    on May 7, 2024
    Collaborator
    More actions

    That csproj does in fact create the nuget package.

    The Unsafe dependency is probably because we use transitive pinning, so any transitive dependency for which we specify a version (as we do for Unsafe) ends up as a direct dependency so our nuget package can specify that version.

    So if you want to remove the Unsafe dependency from the package, look for transitive routes and remove them.

  9. thompson-tomo commented on May 7, 2024

    @thompson-tomo
    thompson-tomo
    on May 7, 2024
    ContributorAuthor
    More actions

    ahh, I forgot to consider how transitive dependencies are handled and as such merge request is now all updated. Thanks for the hint. ;)

  10. AArnott
    closed this as completedin #1812on May 13, 2024
  11. AArnott
    added this to the v2.5 milestone on May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @thompson-tomo
    thompson-tomo

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    • v2.5

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.