[
https://issues.apache.org/jira/browse/LOG4NET-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446996#comment-13446996
]
Nikolay Orlyuk commented on LOG4NET-352:
----------------------------------------
Might be fixed with several (two is enough) runs of: find -name '*.cs' -print0
| xargs -0 sed -i 's/\(\/\/\/.*cref="\)\([^:"]*(\)/\1M:\2/'
Also attached resulted diff file.
> CS0419 during build with Mono >2.6
> ----------------------------------
>
> Key: LOG4NET-352
> URL: https://issues.apache.org/jira/browse/LOG4NET-352
> Project: Log4net
> Issue Type: Bug
> Components: Builds
> Affects Versions: 1.2.11
> Environment: NAnt is 0.86 and Mono is 2.8.2
> NAnt is 0.91 and Mono is 2.10.8
> Reporter: Nikolay Orlyuk
> Priority: Minor
>
> Fails to build with Mono > 2.6 with warn CS0419 treated as error.
> While cref contains argument type signature compiler complains with error:
> Ambiguous reference in cref attribute
> `log4net.Appender.AppenderSkeleton.DoAppend'. Assuming
> {quote}`log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent)'
> but other overloads including
> `log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent[])'
> have also matched{quote}
> See [mail
> archive|http://mail-archives.apache.org/mod_mbox/logging-log4net-user/201110.mbox/%[email protected]%3E]
> and [pastebin|http://pastebin.com/hpPaipXX]
> Note that using signature "M:AppenderSkeleton.DoAppend(LoggingEvent)" as per
> [B.3.1 ID string
> format|http://msdn.microsoft.com/en-us/library/aa664807%28VS.71%29.aspx]
> helps to resolve this issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira