Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: Get package-references using the project.assets.json #154

Open
wgnf opened this issue May 3, 2024 · 0 comments
Open

[FEAT]: Get package-references using the project.assets.json #154

wgnf opened this issue May 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@wgnf
Copy link
Owner

wgnf commented May 3, 2024

Description of the feature/enhancement

The current approach to get all the package-references is done by using dotnet list package for a solution or project. Which worked great so far. But over at my company that approach broke when updating to .NET 8. We were using CPM with different files in differently scoped folders.

As a secondary approach parsing the project.assets.json would be cool.

Additional Information

To get all the packages including the transitive ones, there is a long list of all the packages that are needed. So that could be used.

For non-transitive, we could use the list of packages for the given project, and determine the actual resolved version from the long list. That should work.

@wgnf wgnf added the enhancement New feature or request label May 3, 2024
@wgnf wgnf self-assigned this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant