You might have already seen this answer 
<http://stackoverflow.com/questions/14831371/extension-methods-on-mono-2-10-8-1>
 on 
Stack Overflow - they seem to have success with Mono 3.2.8.

What is the version of Ubuntu and Mono running on the Ubuntu agent on the 
CI server?

It looks like the latest Mono available as Ubuntu packages are for 3.2.8 
<http://packages.ubuntu.com/search?keywords=mono-complete> - but since the 
build configuration is named Master - Mono 3.10, I am guessing we are 
building Mono 3.10 ourselves.

Thanks

On Sunday, December 28, 2014 11:39:54 PM UTC-5, Jonathon Rossi wrote:
>
> I've attempted to get our build running on Mono 3.10 on both OSX and 
> Ubuntu. I've got things working on OSX, but am getting the following error 
> on Ubuntu on our new Ubuntu TeamCity agent:
>
> Missing method .ctor in assembly 
> /home/teamcity/buildagent/work/16de7b8c88ab14af/lib/net45/NLog.dll, type 
> System.Runtime.CompilerServices.ExtensionAttribute
> Can't find custom attr constructor image: 
> /home/teamcity/buildagent/work/16de7b8c88ab14af/lib/net45/NLog.dll mtoken: 
> 0x0a000018
>
>
> http://builds.castleproject.org/viewType.html?buildTypeId=Core_MasterMono310
>
> I've read mentions that this type of error is caused by the fact 
> ExtensionAttribute moved assembly between .NET 4.0 and 4.5 via a 
> TypeForwardedTo, but I'm trying to avoid building log4net, NLog and Serilog 
> from source in our build. Anyone got any ideas?
>
> The plan is to get this working so that I can add a unit test for 
> https://github.com/castleproject/Core/issues/72.
>
> -- 
> Jono
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to castle-project-devel+unsubscr...@googlegroups.com.
To post to this group, send email to castle-project-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/castle-project-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to