I have an ASP.NET MVC application deployed to a standard Azure web app service. I also configure the web app to have 1 deployment slot called 'staging'. First, I published my web app using VS2015 publishing tool to staging slot and tested. It worked so I swapped it with production slot. Then, I published another version with some code changes to staging slot again. It published directly to my production slot. I thought Azure web app production slot is now actual staging slot after swapping. How can I make the web app always publish to the slot that is not currently live (i.e. production slot) to test before swapping again?
I published the web app by right click on the web project and select publish, enter my azure subscription ID and password, select web app and publish.
Thank you