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

Made RemoveUnnecessaryPackages consistent #696

Merged
merged 2 commits into from
Feb 1, 2025
Merged

Conversation

igor84
Copy link
Collaborator

@igor84 igor84 commented Jan 30, 2025

In the old code it would look for nuspec files on the file system and then remove folders that are not in packages.config. But installedPackages already contain all found nuspec files. The issue with old code is that InstalledPackages contained data about packages that were also potentially modified by the plugins while this method didn't take that into account leading to inconsistencies.

In the old code it would look for nuspec files on the file system and then
remove folders that are not in packages.config. But installedPackages
already contain all found nuspec files. The issue with old code is that
InstalledPackages contained data about packages that were also
potentially modified by the plugins while this method didn't take that
into account leading to inconsistencies.
@igor84 igor84 requested review from JoC0de and popara96 January 30, 2025 13:45
@JoC0de JoC0de merged commit 46e771d into master Feb 1, 2025
8 checks passed
@JoC0de JoC0de deleted the remove-unnecessary-fix branch February 1, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants