This sets the Chocolatey install directory to the current assembly directory when built as a debug build.
If a debug build is in use, then Chocolatey GUI is using the chocolatey lib assembly, so true can be returned in all cases.
Motivation and Context
This allows correctly getting the location of remembered arguments from the debug installed package(s) instead of from the system-wide install of Chocolatey.
Testing
Build a debug version of Chocolatey GUI
F5 run from Visual Studio
Advanced install curl with package parameter(s)
View the remembered arguments.
Validate that they are coming from the local/debug install of curl, rather than from the system wide install.
Operating Systems Testing
Windows 10 22H2
Change Types Made
[x] Bug fix (non-breaking change).
[ ] Feature / Enhancement (non-breaking change).
[ ] Breaking change (fix or feature that could cause existing functionality to change).
Description Of Changes
This sets the Chocolatey install directory to the current assembly directory when built as a debug build.
If a debug build is in use, then Chocolatey GUI is using the chocolatey lib assembly, so true can be returned in all cases.
Motivation and Context
This allows correctly getting the location of remembered arguments from the debug installed package(s) instead of from the system-wide install of Chocolatey.
Testing
Operating Systems Testing
Change Types Made
Change Checklist
Related Issue
Fixes #980