svn path=/trunk/mcs/; revision=15999
//
using System;
+using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
int len = appBase.Length;
if (len >= 8 && appBase.ToLower ().StartsWith ("file://"))
appBase = appBase.Substring (7);
+ else if (appBase.IndexOf (':') == -1)
+ appBase = Path.GetFullPath (appBase);
return appBase;
}
2003-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AppDomainSetup.cs: remove the "file://" prefix from ApplicationBase
- if it's present.
+ if it's present and get the full path for non-Uri paths.
2003-07-2 Lluis Sanchez Gual <lluis@ximian.com>