aEnigmatic / xcom2-launcher

Unofficial XCOM 2 launcher
GNU General Public License v3.0
0 stars 0 forks source link

Failure to close after clicking X box #17

Closed nstrangways closed 8 years ago

nstrangways commented 8 years ago

Reproduced a bug where I was unable to close the program due to getting an error "Method not found 'Int64 System.DateTimeOffset. ToUnixTimeSeconds()'.

Details from the popup were

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

\ Exception Text ** System.MissingMethodException: Method not found: 'Int64 System.DateTimeOffset.ToUnixTimeSeconds()'. at XCOM2Launcher.XCOM.ConfigFile.UpdateTimestamp() at XCOM2Launcher.XCOM.XCOM2.SaveChanges(Settings settings) at XCOM2Launcher.Forms.MainForm.Save() at XCOM2Launcher.Forms.MainForm.MainForm_FormClosing(Object sender, FormClosingEventArgs e) at System.Windows.Forms.Form.WmClose(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

\ Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

XCOM2 Launcher Assembly Version: 0.4.3.0 Win32 Version: 0.4.3.0

CodeBase: file:///C:/Users/Nate/Downloads/XCOM%202%20Mod%20Launcher/XCOM2%20Launcher.exe

System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34250 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34262 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Newtonsoft.Json Assembly Version: 8.0.0.0 Win32 Version: 8.0.3.19514

CodeBase: file:///C:/Users/Nate/Downloads/XCOM%202%20Mod%20Launcher/Newtonsoft.Json.DLL

Steamworks.NET Assembly Version: 8.0.0.0 Win32 Version: 8.0.0

CodeBase: file:///C:/Users/Nate/Downloads/XCOM%202%20Mod%20Launcher/Steamworks.NET.DLL

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Xml.Linq Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

ObjectListView Assembly Version: 2.9.0.25611 Win32 Version: 2.9.0.0

CodeBase: file:///C:/Users/Nate/Downloads/XCOM%202%20Mod%20Launcher/ObjectListView.DLL

\ JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

aEnigmatic commented 8 years ago

Your .net runtime is outdated, install this.