[Mono-devel-list] Problems with IO.Directory.Exists and AppDomain.CurrentDomain.BaseDirectory

Ivan Hawkes blackhawk at ivanhawkes.com
Sun Jul 6 10:40:08 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gonzalo Paniagua Javier wrote:

| El dom, 06-07-2003 a las 06:12, Ivan Hawkes escribió:
|
|>Ok, I've now tested it on MS (and seriously have to get some sleep now)
|
|
| Heh. It seems that i'm not the only one who cannot sleep until figuring
| out problems ;-).
|
|
|>and the results are:
|>
|>1. Standalone app returns
|>	D:\Dev\simpletest\bin\Debug\
|>
|>2. ASPX test page returns
|>	d:/www/christinahawkes/
|>
|>So in neither case should file:// be at the front. Also, Exists will
|>return false if the path starts with file://
|>
|>So, looks like the ASPX handling of AppDomain.CurrentDomain.BaseDirector
|>needs to remove the file:// from the start of what it returns.
|
|
| Okay. I've just commited a change to AppDomainSetup. It should make your
| stuff work, but i still need to complete the nunit test case i used.
|
| Thanks.
|
| -Gonzalo

Great! Time to start hacking again...although the ASPX problem is a real
showstopper *sigh*. I hope I sent in enough info to help someone pin it
down.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBPwg0yPr1e7bH1pzBAQJjig/+JSkHASO95In3W8t2hdByU1jDPJrUgrvy
SwE/Lc7tPT+gc10f1BdlS+ljXtCjEDTJ6qbzR6I1Kgph4PSxpc3i6wR4UrVsveLQ
Byibowui+sqD3bShFQxyVGXW6WCRn6EcRyID9RTPI5koD87SMBpvaNNIhVhscrZw
T3AnuB5CtV3MSDy4IFJuE0ILO79+Hb33x0XaGO3f2RJpc0wdF+uU6Lc4RqJCxBiC
3Yl3+Qy9jYuJkVfQIMQQQ0f6luvBTyl14dO9jaLZfphfDb2CqJPIb10ArKI/Y0cS
epf/GcxRvrghNvV6mjmLcAn0EwXXZXxqH2SBLTkriayh6ADlsYrbrQ/5M2I6dOpS
U7SQAOagVB0d0BZ/LrXPdX5SzK/m8pEro/4h1BatfV1krPbGUJ/pkwfjqX2/q69E
wBF8iZ484ijdDJOvXDEaTSVP+11wuU8irYZXhEAwxxhSXGRUChzX1AaKWgqYDOzP
kUUXjvgS+qRUDB0jliTG9Uk5JW902QoHmXzx0SAaKHMHBLv1zgMHXcZnPNQYjoWf
0aTWCgHeI/V+EsudHDlKUIzMSzZL3/xfhuQbyxc/TtmNQvnQReSlcNChaK9r0lPT
86Vig62npr22xfOyzcEmdURVg3VTc9v2nf/fSTZvKluPMxLPICpt5jvCyxlf1M1y
HvNp9ALRfF4=
=Xy+H
-----END PGP SIGNATURE-----



More information about the Mono-devel-list mailing list