[Mono-bugs] [Bug 418433] New: Assembly loaded too early
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Aug 19 14:35:07 EDT 2008
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: mono-bugs at lists.ximian.com
ReportedBy: kobruleht2 at hot.ee
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list