Abort when compile or release fail to detect an application

[#53862463]
Merge 53862463-compile-release-robustness to master

[Completes #53862463]