Remove `-unpackself` command and adjust build/debugging as appropriate
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 960
- PR merge metrics
- No merged PRs in 30d
Description
### Checklist
- [X] I have verified this is the correct repository for opening this issue.
- [X] I have verified no other issues exist related to my request.
### Is Your Feature Request Related To A Problem? Please describe.
In 2.x we should have `-unpackself` deprecated.
This issue covers the work to actually remove it in 3.x in the next major version.
### Describe The Solution. Why is it needed?
- Remove the `-unpackself` command
- Determine whether we can remove or rework the `chocolatey.resources` assembly to make things work in the build and debugging for `choco`.
### Additional Context
_No response_
### Related Issues
- #3426
- #3427
Contributor guide
Research direction
Start by tracing the `-unpackself` command and reviewing the `chocolatey.resources` assembly usage in the build and debugging paths. Read related issues #3426 and #3427 for context. Done means the command is removed and choco still builds and supports debugging as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, cli
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100