question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Packages are not cleaned

See original GitHub issue

Version(s)

1.0.0 to 2.5.0.

To reproduce

Steps to reproduce the behaviour:

  1. Create a class library
  2. Add a package reference to MinVer 2.5.0
  3. Run dotnet build
  4. Run dotnet pack
  5. Run dotnet clean

Expected behaviour

The package is deleted from disk.

Actual behaviour

The package is not deleted from disk.

Workarounds

Delete the package from disk in a separate action.

Additional context

Thanks to @xoofx for prompting the discovery of this problem by raising https://github.com/adamralph/minver/issues/675.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
adamralphcommented, Mar 5, 2022

released in 3.0.0-rc.2

0reactions
adamralphcommented, Mar 8, 2022

re-released in 3.0.0-rc.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Will "conda clean" erase my favorite packages?
At the very least, tarballs can be removed with no risk. Cleaning packages is done based on counting the number of hardlinks for...
Read more >
Dependent patch packages are not cleaned from the ...
Dependent patch packages are not cleaned from the packagecache during uninstall. #6735.
Read more >
Are Packages Safe from COVID-19? Cleaning and ...
Packages are not always the cleanest, and keeping this in mind will help you address any possibility for contamination. Although not everything ...
Read more >
Why Doesn't Yum Clean Up Orphaned Packages?
That's why 'package-cleanup --orphans' didn't work as expected — because an "orphan" isn't what you think. Packages that don't exist as ...
Read more >
What is the best to clean/remove unused packages/files/logs?
dnf clean is not what you need. Maybe you are looking for something like sudo dnf autoremove , but be careful with what...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found