This commit introduces a change similar to what exists in Chocolatey CLI. While in debug mode, we source the installation location of both Chocolatey and the GUI Licensed assembly from a different location, rather than the official location.
Motivation and Context
This means that we can run the debug version of Chocolatey GUI using a locally sourced debug version of Chocolatey, which means that debugging some scenarios is much easier.
Testing
This PR should be tested alongside a PR into Chocolatey GUI Licensed, which makes use of this change.
Operating Systems Testing
N/A
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 commit introduces a change similar to what exists in Chocolatey CLI. While in debug mode, we source the installation location of both Chocolatey and the GUI Licensed assembly from a different location, rather than the official location.
Motivation and Context
This means that we can run the debug version of Chocolatey GUI using a locally sourced debug version of Chocolatey, which means that debugging some scenarios is much easier.
Testing
This PR should be tested alongside a PR into Chocolatey GUI Licensed, which makes use of this change.
Operating Systems Testing
N/A
Change Types Made
Change Checklist
Related Issue
N/A - This is merely for allowing better development experience when working with Chocolatey GUI