* AspGenerator.cs: remove "file://" from the private bin path. Fixes
bug #37628.
svn path=/trunk/mcs/; revision=11230
if (privateBinPath == null || privateBinPath.Length == 0)
privateBinPath = "bin";
- if (!Path.IsPathRooted (privateBinPath))
- privateBinPath = Path.Combine (setup.ApplicationBase, privateBinPath);
+ if (!Path.IsPathRooted (privateBinPath)) {
+ string appbase = setup.ApplicationBase;
+ if (appbase.StartsWith ("file://"))
+ appbase = appbase.Substring (7);
+ privateBinPath = Path.Combine (appbase, privateBinPath);
+ }
Init ();
}
+2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * AspGenerator.cs: remove "file://" from the private bin path. Fixes
+ bug #37628.
+
2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspParser.cs: the parser fires events when it parses an element.