Skip to content

Get package info from project.assets.json if SDK-Style project #26

@MichelJansson

Description

@MichelJansson

Thanks for an essential tool!

Currently there is some issues with linking packages that does not have exact version, ie. Version="1.0.0-*" since that version string is straight "copied" as a folder.

One solution to this could be to read obj/project.assets.json that is generated by dotnet restore instead of the .csproj to get the currently restored version. This file also gives the benefit of that it also holds the path to the packages folder, removing the need to read the *.nuget.g.props

I'm willing to submit a PR for this it you think it sound like a good idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions