c# - WINE 64-bit .NET application crashes with .NET Framework -
i encountered problem 64-bit .net framework: c# program simple:
static void main(string[] args) { system.console.writeline("hello world!"); debug.writeline("debug hello world!"); }
i installed wine-2.12 64-bit (the lastest development version) on centos 7 (3.10.0-514.21.1.el7.x86_64) , installed .net framework 4.6.1 onto it. before installing .net framework, removed wine-mono. got following error message when tried run above program:
hello world! *unhandled exception: system.nullreferenceexception: object reference not set instance of object. @ system.diagnostics.diagnosticsconfiguration.initialize() @ system.diagnostics.diagnosticsconfiguration.get_indentsize() @ system.diagnostics.traceinternal.initializesettings() @ system.diagnostics.traceinternal.writeline(string message) @ consoleapplication3.program.main(string[] args) wine: unhandled page fault on read access 0x00000000 @ address 0x1aa460fd (thread 0009), starting debugger...*
the problem line "debug.writeline(...)". however, same application compiled 32-bit works well.
i found out got similar error @ other positions when ran our in-house 64-bit .net program, if don't use debug.writeline(...), created hello-world program reproduce it.
my final goal is: run our 64-bit .net application on 64-bit wine .net framework 4.6.1.
please instruct me how overcome problem?
thanks.
best regards,
/kenny
Comments
Post a Comment