On Sep 12, 2016 1:43 AM, "Stefan Bodewig" <bode...@apache.org> wrote: > > On 2016-09-11, Ryan Boggs wrote: > > > On Sep 11, 2016 9:21 AM, "Stefan Bodewig" <bode...@apache.org> wrote: > > >> On 2016-09-11, Ryan Boggs wrote: > > >>> On Sep 11, 2016 2:23 AM, "Stefan Bodewig" <bode...@apache.org> wrote: > > >>>> On 2016-09-09, Ryan Boggs wrote: > > >>>>> Fyi - One thing i do know regarding NAnt, mono, and windows is that > > when > >>>>> they updated the installer for 4, they omitted the registry settings > > for > >>>>> the first couple of releases so NAnt couldn't find it. > > >>>> I went back to 3.12.1 after your comment but NAnt 0.92 still doesn't > >>>> recognize Mono. > > >>>> On Linux things aren't really any better as NAnt considers Mono 4.x as > >>>> "mono-4.5" framework and won't build anything at all as the framework > > is > >>>> not supported. And it really doesn't seem to find the compiler and > >>>> reference assemblies (that are likely not there, anyway) when I run > > Nant > >>>> with -t:mono-4.0 > > >>> What version of NAnt are you using? > > >> 0.92 downloaded from the project site. > > Can you do me a favor and try it with the last nightly build? I did commit > > some changes related to mono-4.5 that should be in that build. > > At least it doesn't complain about mono-4.5 not being supported but when > trying to build log4net > > ,---- > | $ nant > | WARNING: The runtime version supported by this application is unavailable. > | Using default runtime: v4.0.30319 > | NAnt 0.93 (Build 0.93.5521.0; nightly; 12.02.2015) > | Copyright (C) 2001-2015 Gerry Shaw > | http://nant.sourceforge.net > | > | > | BUILD FAILED > | > | Mono 4.0 Profile (mono-4.0) is not installed, or not correctly configured. > | > | The 'System.dll' assembly does not exist in framework assembly directory '/usr/lib/pkgconfig/../../lib/mono/4.0'. > | > | For more information regarding the cause of the build failure, run the build again in debug mode. > | > | Try 'nant -help' for more information > `---- > > It looks as if System.dll now resides in mono/4.0-api rather than > mono/4.0 (the later only holds Mono.Posix.dll and mscorlib.dll).
Ok, initial glance tells me that this could be fixed simply by updating the app.config file to look in the new *-api directories. I can try to fix this if time allows. Are you trying to build the log4net from the master branch? And what platform are you using to build?Linux? Thanks, Ryan > > Stefan