Martijn, I've now committed fixes for this to Mono SVN head.
Gert > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nant-users- > [EMAIL PROTECTED] On Behalf Of Gert Driesen > Sent: dinsdag 19 december 2006 23:23 > To: 'Martijn Boland'; nant-users@lists.sourceforge.net > Subject: Re: [NAnt-users] Building satellite assemblies on Mono 1.2 > with NAnt 0.85 > > Martijn, > > Sorry for the late response. The cause of the issue you described is > that > Mono's AssemblyLinker uses Assembly.Load with the filename of the > specified > template (without extension) instead of using Assembly.LoadFile (or > LoadFrom). If the template assembly is not in the current directory, > then > the load will of course fail. > > However, I think it will also fail if it would have used > Assembly.LoadFile > since Mono does not ship a 2.0 assemblylinker (al). > > NAnt is forced to always use the 1.0 al, which ofcourse does not > support > loading 2.0 assemblies. > > I'd recommend filing Mono bug reports for both issues. > > Gert > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:nant-users- > > [EMAIL PROTECTED] On Behalf Of Martijn Boland > > Sent: dinsdag 5 december 2006 23:30 > > To: nant-users@lists.sourceforge.net > > Subject: [NAnt-users] Building satellite assemblies on Mono 1.2 with > > NAnt 0.85 > > > > Guys > > > > Does anybody know if building satellite assemblies (resources for > > different cultures) with NAnt on Mono works? On Windows everything > > works > > fine, but on Mono, al.exe gives an exception that it can't find an > > assembly or on of its dependencies. I have no idea what's going wrong > > here. > > > > Thanks, Martijn > > > > NAnt build output: > > > > [al] Output file > > '/home/mono/src/cuyahoga/build/mono- > > 2.0/debug/bin/it/Cuyahoga.Web.resources.dll' > > does not exist, rebuilding. > > [al] Compiling 1 files to > > '/home/mono/src/cuyahoga/build/mono- > > 2.0/debug/bin/it/Cuyahoga.Web.resources.dll'. > > [al] Contents of /tmp/tmp1ca7eb8f.tmp. > > [al] /target:"lib" > > [al] > > /out:"/home/mono/src/cuyahoga/build/mono- > > 2.0/debug/bin/it/Cuyahoga.Web.resources.dll" > > [al] /culture:"it" > > [al] > > /template:"/home/mono/src/cuyahoga/build/mono- > > 2.0/debug/bin/Cuyahoga.Web.dll" > > [al] > > > /embed:"/home/mono/src/cuyahoga/Web/Controls/Resources/Strings.it.resou > > rces",Cuyahoga.Web.Controls.Resources.Strings.it.resources > > [al] /nologo > > [al] > > [al] Starting '/usr/bin/mono ("/usr/lib/mono/1.0/al.exe" > > @"/tmp/tmp1ca7eb8f.tmp")' in '/home/mono/src/cuyahoga/Web' > > [al] Unhandled Exception: System.IO.FileNotFoundException: File or > > assembly name Cuyahoga.Web, or one of its dependencies, was not > found. > > [al] File name: "Cuyahoga.Web" > > [al] at <0x00000> <unknown method> > > [al] at (wrapper managed-to-native) System.AppDomain:LoadAssembly > > (string,System.Security.Policy.Evidence,bool) > > [al] at System.AppDomain.Load (System.Reflection.AssemblyName > > assemblyRef, System.Security.Policy.Evidence assemblySecurity) > > [0x00000] > > [al] at (wrapper remoting-invoke-with-check) System.AppDomain:Load > > (System.Reflection.AssemblyName,System.Security.Policy.Evidence) > > [al] at System.AppDomain.Load (System.Reflection.AssemblyName > > assemblyRef) [0x00000] > > [al] at (wrapper remoting-invoke-with-check) System.AppDomain:Load > > (System.Reflection.AssemblyName) > > [al] at System.Reflection.Assembly.Load > > (System.Reflection.AssemblyName assemblyRef) [0x00000] > > [al] at Mono.AssemblyLinker.AssemblyLinker.DoIt () [0x00000] > > [al] at Mono.AssemblyLinker.AssemblyLinker.DynMain (System.String[] > > args) [0x00000] > > [al] at Mono.AssemblyLinker.AssemblyLinker.Main (System.String[] > > args) > > [0x00000] > > > > > > --------------------------------------------------------------------- > -- > > -- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > your > > opinions on IT & business topics through brief surveys - and earn > cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD > > EV > > _______________________________________________ > > NAnt-users mailing list > > NAnt-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nant-users > > > ----------------------------------------------------------------------- > -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD > EV > _______________________________________________ > NAnt-users mailing list > NAnt-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users