[Mono-dev] Building nant-0.85 against Mono-1.2.4
marek safar
marek.safar at seznam.cz
Mon Apr 23 18:42:54 EDT 2007
Hello Paul,
>
> I'm trying to build NAnt-0.85 against Mono-1.2.4 and it's throwing the
> following error. Does anyone know of a fix for it?
>
> The Nant bug reporter has something about it here
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1675297&group_id=31650&atid=402868
>
> but there isn't a fix on the site for it - is there one?
The warning is correct and can be easily fixed. InitializeElement is virtual method
marked as obsolete but not in all its instances. To fix the warning you have to
either remove Obsolete attribute or add Obsolete attribute to all virtual/overrides
of the method.
Regards,
Marek
More information about the Mono-devel-list
mailing list