Pre-build event runs post-build event does not

I have a simple powershell script in the prebuild event to delete everything from the output folder (as it includes it each build) which runs fine.

I have another script in the post-build event to copy all the files to another location. This never fires.

Thanks!

Joe

Tool: Visual Studio 2019 & 2022, PowerShell Module
Version: 2021.11.1

This is a bug. I opened an issue here: Post-Build Event Not Firing · Issue #756 · ironmansoftware/issues · GitHub