[Mono-dev] [PATCH] Moving MonoVersion to Consts.cs

Kornél Pál kornelpal at hotmail.com
Wed Aug 24 04:27:13 EDT 2005


Currently a MonoVersion.cs file is generated by configure.in that contains a
AssemblyVersion attribute. I think it's a better solution to put a
MonoVersion contstant to Consts.cs and use the constant in the
AssemblyInfo.cs files of asssemblies. This let us to use the constant itself
and the source code looks better as there is no extra MonoVersion.cs.

Using variables in AC_OUTPUT seems to be impossible so I used sed to parse
Consts.cs.in. I think this is not a big problem as I can hardly imagine that
we will need other preprocessed constants in Consts.cs.

Please review the patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MonoVersionConst.diff
Type: application/octet-stream
Size: 11330 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050824/f8cc38b3/attachment.obj 

More information about the Mono-devel-list mailing list