I’m trying to change my web.config appSetting file’s name:
With the rule:
<appSettings file="ExternalAppSettings.Release.config" xdt:Transform="SetAttributes(file)"/>
But this is not working, what am I missing/doing wrong?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I figured it out. That file was missing on the publish.
On the file: “ExternalAppSettings.Release.config” I needed to change the properties: Copy to Output Directory > Copy Always.