0

I am very unsure if this is the right place to as or if I need to ask this at another forum, but here it goes.

I am trying to reverse engineer a .NET program with the use of dnspy. I installed dnspy with choco install dnspy. I was then able to start dnspy in by calling it in pwsh, but when debugging the program I get the following error Could not start the debugger. Use 32-bit dnSpy to debug 32-bit applications. I then found this link that said to restart the debugger with dnspy-x86. But still the debugger is 64 bit. I also tried to run dnspy by running dnspy -x86.

I see here in chocolatey.org that the 32 bit is checked in virustotal. But I am unsure if the 32-bit version is included. I also cant find any information on flags or parameters dnspy is able to take.

My question is if dnspy 32 bit is installed by using choco or if one has to install the 32-bit manually. And if dnspy 32 bit is installed with choco, how do I start it in 32 bit.

1 Answer 1

3

By default choco doesn't want to install 32bit if you are on 64bit system. But, with a little bit of effort, I found that to install 32bit you will need to add either add: --x86 or --forcex86 to force x86 (32bit) installation on 64 bit systems.

To download dnspy 32 bit you would run: choco install dnspy --x86

Alternatively, you can go to dnSpy github and download it from there.

For next time please refer to choco install docs and read the entire help section

I hope you learn something new today ☺

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.