[Mono-list] NAnt

Martin Aliger martin_aliger@email.cz
Tue, 24 Sep 2002 15:48:27 +0200 (CEST)


Hi all,

I try compile newest stable NAnt with mcs (to help with docs). Except others these problems/bugs occurs:

NAnt.cs:GetBuildFileName tries call System.Path.IsPathRooted(null) which throws NullArgumentException. In MS libs maybe not (not tested but NAnt relies on that). I have MS docs avaiable and there is no mension about Exceptions. Further, are you sure, mono implementation of IsPathRooted is CORRECT? I'm not (on Windows)...

Next: "NAnt -help" should write some help messages. It does, but in front of them mono writes
CRITICAL: and something with images
Here is code which isolates the problem:
----------
using System.Diagnostics;
using System.Reflection;
class Test
{
	static public void Main()
	{
		FileVersionInfo i=FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location);
	}
}
--------

There will be perhaps more thinks but it is enough for today
Martin


______________________________________________________________________________
SB KOMPLET®  Informační ekonomický systém http://www.sb-komplet.cz  
…umíme svoji práci!