SIGN IN SIGN UP

Add PreNewBcCompilerFolder and PostNewBcCompilerFolder hooks (#2262)

### Description

Adds two new hooks for customizing the compiler folder creation process
when workspace compilation is enabled:

- **PreNewBcCompilerFolder.ps1** - Runs before `New-BcCompilerFolder` is
called. Receives a `[hashtable] $parameters` argument containing the
parameters that will be passed to `New-BcCompilerFolder`. The script can
modify the hashtable in-place to customize the compiler folder creation
(e.g., add a `platformArtifactUrl` to use a specific platform version).

- **PostNewBcCompilerFolder.ps1** - Runs after the compiler folder is
created. Receives `[hashtable] $parameters` and `[string]
$compilerFolder` arguments.

Place these scripts in your project's `.AL-Go` folder to use them.

### Changes

- Updated `Compile.ps1` to load and invoke
PreNewBcCompilerFolder/PostNewBcCompilerFolder scripts via
`Get-ScriptOverrides`
- Added documentation in `Scenarios/settings.md` for both hooks
- Added release notes in `RELEASENOTES.md`

### Note

These hooks are only called when workspace compilation is enabled.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
M
Maria Zhelezova committed
cdc0cb5199db14e1b257f6b9b0c349e60aa1cc1b
Parent: d6059b8
Committed by GitHub <noreply@github.com> on 5/27/2026, 10:47:26 AM