mercredi 25 février 2015

Running a powershell script BeforeBuild to modify web.config - how?


Vote count:

0




I have a standard C# MVC web project with a web.config. What I'd like to do (please don't dig into the intentions here - it's a long story) - is run a powershell script (or executable, less preferably) to modify the contents of the web.config before building.


I've noticed the BeforeBuild section of my csproj file, but I don't know how to leverage this to run a script against my web.config. Is this possible?



asked 2 mins ago

RobVious

1,889






Running a powershell script BeforeBuild to modify web.config - how?

Aucun commentaire:

Enregistrer un commentaire