Not specifically C#, more of a .NET app configuration problem.
I am trying to run an Executable, and keep receiving an unhandled "System.TypeInitializationException" exception:
[tt]
[2010-09-03 13:25:11,622][ERROR] Exception in Main:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Collections.Generic.List`1 ---> System.TypeLoadException: Could not load type 'White.Core.UIItems.WindowItems.Window[]' from assembly 'White.Core, Version=0.2.0.0, Culture=neutral, PublicKeyToken=2672efbf3e161801'.
at System.Collections.Generic.List`1[White.Core.UIItems.WindowItems.Window]..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Recorder.Domain.WhiteRecorder..ctor () [0x00000] in <filename unknown>:0
at Recorder.Controllers.DashboardController..ctor () [0x00000] in <filename unknown>:0
at Recorder.Program.Main () [0x00000] in <filename unknown>:0
[/tt]
Best I can tell, this is a missing DLL exception (White.Core.dll), but I have the executable in the same folder as all of the DLLs. I'm a little stumped as to how to approach this problem.
FYI: I'm running mono-2.6.7
I am trying to run an Executable, and keep receiving an unhandled "System.TypeInitializationException" exception:
[tt]
[2010-09-03 13:25:11,622][ERROR] Exception in Main:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Collections.Generic.List`1 ---> System.TypeLoadException: Could not load type 'White.Core.UIItems.WindowItems.Window[]' from assembly 'White.Core, Version=0.2.0.0, Culture=neutral, PublicKeyToken=2672efbf3e161801'.
at System.Collections.Generic.List`1[White.Core.UIItems.WindowItems.Window]..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Recorder.Domain.WhiteRecorder..ctor () [0x00000] in <filename unknown>:0
at Recorder.Controllers.DashboardController..ctor () [0x00000] in <filename unknown>:0
at Recorder.Program.Main () [0x00000] in <filename unknown>:0
[/tt]
Best I can tell, this is a missing DLL exception (White.Core.dll), but I have the executable in the same folder as all of the DLLs. I'm a little stumped as to how to approach this problem.
FYI: I'm running mono-2.6.7