My issue is that on a big application I have to change all the assembly files in each dll, and there is more than a hundred. I would like to use "find and replace" from a text editor to change these two lines :
[assembly: AssemblyProduct("DllsName")] changed to [assembly: AssemblyProduct("s")]
[assembly: AssemblyVersion("1.0")] changed to [assembly: AssemblyVersion("1.xxx")]
where xxx
is a fixed number, and DllsName
is not the same in every file.
I'm a white belt in regular expression but I believe it's the best way to do it : use a regular expression to select just the part I want to change and then replace it. Unfortunately with all those [
, "
, (
characters I'm not quite sure how to write this expression and I don't know how to change that DllsName
because it's not the same in every file.
So my question is : Is it possible to change all the files with a regular expression and how ?