https://bugzilla.novell.com/show_bug.cgi?id=418433
Summary: Assembly loaded too early
Product: Mono: Class Libraries
Version: 2.0
Platform: x86
OS/Version: Windows Vista
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
To reproduce:
1. Create assembly entityextension.dll containing code:
public class Extension { }
2. Create second assembly containing code:
public class Business
{
public class Test : Extension { }
public static void Configure() { }
}
3. Create main assembly containing code:
using System.IO;
class Program
{
static void Main()
{
File.Delete("entityextension.dll");
Business.Configure();
}
}
4. Run main assembly in Vista using command
mono main.exe 2>t
Observed:
Unhandled Exception: System.UnauthorizedAccessException: Access to the path
"entityextension.dll" is denied.
at System.IO.File.Delete (System.String path) [0x00000]
at Program.Main () [0x00000]
Expected:
No exception
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs