Search and replace in *.aspx,*.ascx files when publishing a Webapplication
Posted
by CodeMonkey
on Stack Overflow
See other posts from Stack Overflow
or by CodeMonkey
Published on 2010-04-09T07:14:04Z
Indexed on
2010/04/09
7:23 UTC
Read the original article
Hit count: 449
Hi all
I'm attempting to replace a pattern in all my .aspx and .ascx file when I Publish my Webapplication.
When I am running the application locally, I don't care about the replace. But as soon as I need to Publish the solution I need a sequence of characters, let's say "ABC", replaced with "DEF" in all my .aspx and .ascx files.
How would I go about performing this?
© Stack Overflow or respective owner