Closed nyagger closed 5 years ago
What version of DFAssist are you using? give 2.1.6 a try, it should resolve all the problems related to assembly resolve.
If you still are unable to start, and getting the same exception, you may want to ensure that DFAssist.dll is located in a folder with this structure:
and that all the needed .dlls are located inside the "libs" folder, (you should see also the System.ValueTuple.dll)
let me know!
Hello, thanks for the response. I downloaded the newest version from the link you gave me and I made sure that DFAssist.dll was in a plugins folder in ACT as you suggested. I see System.Value.Tuple.dll in the libs folder also but I think I am still getting the same error. I will paste the error code just in case. Thanks!
System.IO.FileNotFoundException - Could not load file or assembly 'System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy() at System.Reflection.RuntimeConstructorInfo.GetParameters() at System.Diagnostics.StackTrace.ToString(TraceFormat traceFormat) at System.Exception.GetStackTrace(Boolean needFileInfo) at System.Exception.ToString(Boolean needFileLineInfo, Boolean needMessage) at System.Exception.ToString(Boolean needFileLineInfo, Boolean needMessage) at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args) at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) at System.String.Format(String format, Object[] args) at Advanced_Combat_Tracker.FormActMain.WriteExceptionLog(Exception ex, String MoreInfo) at Advanced_Combat_Tracker.FormActMain.pluginPanelEnabledChecked(Object sender, EventArgs e) at System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e) at System.Windows.Forms.CheckBox.set_CheckState(CheckState value) at System.Windows.Forms.CheckBox.set_Checked(Boolean value) at Advanced_Combat_Tracker.FormActMain.btnAddPluginPanel_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
System.Signature, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Interestingly enough, my machine doesn't use the assembly in the libs
folder. It finds a different version in the GAC according to ACT...
System.ValueTuple, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.0.0__cc7b13ffcd2ddd51\System.ValueTuple.dll
(there is no dot between Value
and Tuple
, btw)
As a workaround, you could install the latest .NET Framework... then ACT can just pull the assembly from the GAC instead of from the libs
folder. It first exists in .NET 4.7.
Hello installing the latest .NET Framework made it work for me! Thank you so much for your help!
Hello I removed DFAssist and reinstalled it this morning, but every time I turn on ACT, I get errors. I am only able to turn ACT back on if I uninstall DFAssist. Here is the error and thanks in advance:
System.IO.FileNotFoundException - Could not load file or assembly 'System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified. at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy() at System.Reflection.RuntimeConstructorInfo.GetParameters() at System.Diagnostics.StackTrace.ToString(TraceFormat traceFormat) at System.Exception.GetStackTrace(Boolean needFileInfo) at System.Exception.ToString(Boolean needFileLineInfo, Boolean needMessage) at System.Exception.ToString(Boolean needFileLineInfo, Boolean needMessage) at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args) at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args) at System.String.Format(String format, Object[] args) at Advanced_Combat_Tracker.FormActMain.WriteExceptionLog(Exception ex, String MoreInfo) at Advanced_Combat_Tracker.FormActMain.pluginPanelEnabledChecked(Object sender, EventArgs e) at System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e) at System.Windows.Forms.CheckBox.set_CheckState(CheckState value) at System.Windows.Forms.CheckBox.OnClick(EventArgs e) at System.Windows.Forms.CheckBox.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
System.Signature, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089