[Mono-list] monodoc - update.exe

Giuseppe Greco giuseppe.greco@agamura.com
Tue, 21 Oct 2003 13:19:26 +0200 (CEST)


> On Tue, 2003-10-21 at 07:11, Giuseppe Greco wrote:
>
>> Hi all,
>>
>> How can I update <AssemblyVersion> in the <AssemblyInfo>
>> element automatically?
>>
>> For instance, the first time I run update.exe,
>> <AssemblyVersion> is set to the same value as in the
>> AssemblyInfo.cs file... but subsequent updates don't
>> modify <AssemblyVersion> anymore.
>
>
>
> You could probably run the files through sed like:
>
> for file in *.xml; do
>     sed s/0.0.0.0/1.1.1.1/g < $file > $file.xml.new;
> done;

For the moment, I'll add something similar to
my build files...

>
> or something similar.
>
>
>> Is this the desired behavior, or is it a bug?
>
>
>
> Im not sure, but I think it would be a bug. Talk a little with Duncan
> about it.

Duncan, do you confirm that?

Gius_.

>
>
>> Thanks,
>> Gius_.
>>
>>
>> ----------------------------------------
>> Giuseppe Greco
>>
>> ::agamura::
>>
>> phone:  +41 (0)91 604 67 65
>> mobile: +41 (0)76 390 60 32
>> email:  giuseppe.greco@agamura.com
>> web:    www.agamura.com
>> ----------------------------------------
>> _______________________________________________
>> Mono-list maillist  -  Mono-list@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>
> --
> Martin Willemoes Hansen
>
> --------------------------------------------------------
> E-Mail	mwh@sysrq.dk	Website	mwh.sysrq.dk
> IRC     MWH, freenode.net
> --------------------------------------------------------
>
>


----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  giuseppe.greco@agamura.com
web:    www.agamura.com
----------------------------------------