System.MissingMethodException when chocolatey.lib is used out of choco.exe #2395
-
What You Are Seeing?I am a user of BulkCrapUninstaller and had problems with the amount of time the application wastes while querying Chocolatey package information. I wanted to create an issue on the said project but it turned out there is already an open ticket. The software is called I created a new benchmark project and did some benchmarks there. It has significant advantages over other methods -600x faster. However, when I added the code to the fork of BulkCrapUninstaller and run it, I get the error below:
What is Expected?No exception on running the code using the How Did You Get This To Happen? (Steps to Reproduce)
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I'd like to comment on a few stuff before an analysis of the issue:
|
Beta Was this translation helpful? Give feedback.
-
I suspect that this is your problem. The
|
Beta Was this translation helpful? Give feedback.
I suspect that this is your problem. The
UninstallTools
project is running on .Net 5. Chocolatey is built on .Net 4.0System.Threading.Mutex.SetAccessControl
is available in .Net framework, but not available in .Net core/5, at least not in the same place.