Hi Bob,
I have had to do this in the past for various reasons (binary
compatibility, setting versions to specific values, etc.) and I was
never able to find a suitable way to do it with nant alone. Ultimately,
I ended up writing a vbscript that would do the work for me and then I
would just
@lists.sourceforge.net
Subject: RE: [NAnt-users] editing a VBP
Hi Bob,
I have had to do this in the past for various reasons (binary
compatibility, setting versions to specific values, etc.) and I was
never able to find a suitable way to do it with nant alone. Ultimately,
I ended up writing a vbscript
Or, any other quick and dirty ways to modify a vbp file. I want to set the
MajorVer, MinorVer and RevisionVer values.
For this specific task, we use a combination of a custom regex
function, and the loadfile, property and echo tasks.
The script:
script language=C# prefix=regex
code