Reproduction steps:
1. Open the attached “ScriptRecompileBug.zip” project
2. Navigate to Test > Recompile All Assemblies
3. Observe the Console window
Expected result: The "Assembly Compiled" message is displayed
Actual result: The "Assembly Compiled" message is not displayed
Reproducible with: 2022.3.55f1, 6000.0.36f1, 6000.1.0b3, 6000.2.0a1
Reproducible on: Windows 11
Not reproducible on: No other environment tested