ok, I try this one (copied from Castle C# code...)
import System.Web
def applicationPath():
path = HttpContext.Current.Request.ApplicationPath
if "/".Equals(path):
path = string.Empty;
end
return path
end
// some more code here...
but I get the following error now:
Exception Details: Castle.MonoRail.Framework.MonoRailException:
CommonScripts\statusImage.brail(1,1): BCE0005:
Boo.Lang.Compiler.CompilerError: Unknown identifier: 'HttpContext'.
interestingly I have no problems with other namespaces and/or classes of the .NET framework, e.g. System.Threading.Thread
what am I missing?