Bugzilla – Bug 321067
Mono quits with error when trying to run .exe program
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by andreas.zieritz@broadpark.no 2006-05-07 16:24:59 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: I have tried to write a simple Visual Basic program with the Microsoft Visual Studio 2005 Express Edition and run the exe file in Mono. The code is: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load DisplayTime() End Sub Sub DisplayTime() MsgBox(GetTime) End Sub Function GetTime() As String Return CStr(Now) End Function End Class The compiled file crashes with an error message when run with the mono runtime environment. Steps to reproduce the problem: 1. run program with "mono MyFirstProcedure.exe" 2. 3. Actual Results: **ERROR**: file class.c:line 2582(mono_class_setup_parent):should not be reached aborting... Expected Results: Should show the time in a messagebox How often does this happen? always Additional Information: ---- Additional Comments From robertj@gmx.net 2006-05-07 17:50:32 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO76795 *** Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Windows XP</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"