[Mono-dev] AppDomain.RelativeSearchPath is faulty?
Dax
Dax at daxxfiles.net
Sat Dec 29 17:00:01 EST 2007
Aefvadh,
very recently I discovered something kind of odd. Please save this as
Default.aspx and run it - click the button.
<script runat="server">
protected void bar(object sender, EventArgs e) {
btn.Text = AppDomain.CurrentDomain.RelativeSearchPath;
}
</script>
<form runat="server">
<asp:Button ID="btn" runat="server" OnClick="bar" />
</form>
You will see, that the button's Text is "~/Bin;~/bin", ~ replaced by the
directory your Default.aspx is saved in. I have already tried to trace
it, but I got lost somewhere in the runtime...
jolan'tru
More information about the Mono-devel-list
mailing list