(Unfortunately, this question is about a non-recommended practice. While I appreciate advise against doing what I request here, I know it isn't good practice anyway, but every now and then we just have to and open our trick bag ;-))
In a situation where we accidentally published an asp.net website, without updatability, with one wrong URL, we'd like to just open that DLL and change the URL, to prevent waiting another week for the next publish opportunity.
In oldish native DLLs I knew how to change resources, but how would I attempt this with .NET DLLs? And is there an easy way, or only a hackerish one (I know of ildasm
and ilasm
)?
If it matters, the string is a literal inside an event handler.