> >> For this specific task, we use a combination of a custom regex
> >> function, and the loadfile, property and echo tasks.
> >
> > Thanks... yours is very close to what I did. I didn't bother with
the
> > regex's and stuff. Here is what I ended up with. It works well.
>
> We had the regex funct
>> For this specific task, we use a combination of a custom regex
>> function, and the loadfile, property and echo tasks.
>
> Thanks... yours is very close to what I did. I didn't bother with the
> regex's and stuff. Here is what I ended up with. It works well.
We had the regex function around, an
Brass,
> For this specific task, we use a combination of a custom regex
> function, and the loadfile, property and echo tasks.
Thanks... yours is very close to what I did. I didn't bother with the
regex's and stuff. Here is what I ended up with. It works well.
> 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:
nant-users@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
call it from my build scripts.
Hope this helps,
Mike
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Thursday, April 23, 2009 4:15 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] editing a VBP
I need to modify the contents of a .vbp
I need to modify the contents of a .vbp file. A .vbp file is pretty much
like an ini file. I tried iniwrite but it requires that I enter the
section value. While there are sections in the vbp file most of the
settings are not in a specified section?
Is there aren't way I can tell it "root" or "