[FEAT]: Get package-references using the project.assets.json
#154
Labels
enhancement
New feature or request
project.assets.json
#154
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.
The text was updated successfully, but these errors were encountered: