@Alan Hunter Thanks for reaching out and apology for the delay. In case if you don't want to swap some of the setting in the application configuration then you need to make those settings stick to the slot while creating them. This document covers in detail about deployment slots and swap operation.
As you want to preserve the WEBSITE_CONTENTSSHARE value during slot then unfortunately you cannot update WEBSITE_CONTENTSSHARE as Deployment slot settings only. In case if you try to update this value you should get the error Failed to update web app settings: 'WEBSITE_CONTENTSHARE' cannot be a slot setting.
This section covers the list of Slot-specific/Non slot-specific settings.
Feel free to get back to me if you have any queries or concerns.