I have a solution with several publishing profiles. when inside VisualStudio 2019, I Righ-Click the project, select Publish, select the profile and publish all works like a