I can’t believe this is so simple but never got answered. I found the answer in this question
Simply select the web.config properties and change ‘Build Action’ to ‘None’ and ‘Copy To Output Directory’ to ‘Do Not copy’
I can’t believe this is so simple but never got answered. I found the answer in this question
Simply select the web.config properties and change ‘Build Action’ to ‘None’ and ‘Copy To Output Directory’ to ‘Do Not copy’