Skip to content

System.MissingMethodException when chocolatey.lib is used out of choco.exe #2395

Answered by TheCakeIsNaOH
zbalkan asked this question in Q&A
Discussion options

You must be logged in to vote

I suspect that this is your problem. The UninstallTools project is running on .Net 5. Chocolatey is built on .Net 4.0

System.Threading.Mutex.SetAccessControl is available in .Net framework, but not available in .Net core/5, at least not in the same place.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@zbalkan
Comment options

@TheCakeIsNaOH
Comment options

@zbalkan
Comment options

@gep13
Comment options

@zbalkan
Comment options

Answer selected by zbalkan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #2393 on October 07, 2021 14:52.