[Mono-list] xbuild: overriding targets doesn't work

Ankit Jain radical at gmail.com
Fri Sep 25 12:33:26 EDT 2009


Hi,

Yes, this is a xbuild bug. I'm taking a look at it now.
Which ver of mono are you using?

-Ankit

On Fri, Sep 25, 2009 at 9:43 PM, Vlad Alexandru Ionescu <vlad at lshift.net> wrote:
>
> Hello,
>
>
> I've been trying to use the BeforeBuild target with xbuild, but
> apparently overriding it doesn't work at all (my custom BeforeBuild is
> simply ignored).
> A workaround for this problem is commenting out <Target
> Name="BeforeBuild" /> in Microsoft.Common.targets. But that requires
> that I define the BeforeBuild target in all of the projects, even if it
> is not used.
> I've tried defining my custom BeforeBuild before and after including
> Microsoft.CSharp.targets, in my project file, with no success.
> I think this is a bug in xbuild.
>
> I've looked for my problem in the mailing lists and in mono bugs, but
> wasn't able to find anything. Sorry if this is a known issue.
>
> Please let me know if you need additional information, or if you'd like
> me to isolate the bug in a minimal project file.
>
>
> Vlad.
>
> --
>
>  [][][] Vlad Alexandru Ionescu | Developer
>   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
>  []  [] www.lshift.net         | Email: vlad at lshift.net
>
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



-- 
Blog : http://www.ankitjain.org/blog


More information about the Mono-list mailing list