[Mono-bugs] [Bug 446353] The runtime should not change CodeBase of the entry assembly in the shadowcopied appdomain .

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 20 16:36:31 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=446353

User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=446353#c7





--- Comment #7 from Gert Driesen <gert.driesen at pandora.be>  2008-11-20 14:36:30 MST ---
You can add a CWL to Atsushi's repro:

test.cs:

using System;
using System.Reflection;
public class Test
{
        public static void Main ()
        {
                Console.WriteLine (AppDomain.CurrentDomain.BaseDirectory);
                Console.WriteLine (Assembly.GetEntryAssembly ().CodeBase);
                Console.WriteLine (System.IO.Path.GetFullPath ("."));
        }
}

I also have a test case available in SVN:
gert/standalone/bug446353

However, that one uses NAnt to build/run. If that's too much trouble, I'll open
a new bug report this weekend and add a repro that does not require NAnt.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list