Fix incorrect apphost being used when publishing for self-contained single-file with NoBuild=true
#16594
This job was skipped
Loading
NoBuild=true
#16594