Makar8000 / ACT-Discord-Triggers

An ACT plugin for routing audio to discord
50 stars 14 forks source link

System.Interactive.Async unable to be loaded due to mismatch between assembly's manifest definition and assembly reference. #24

Closed KinreeveNaku closed 6 years ago

KinreeveNaku commented 6 years ago

The issue occurs when attempting to either load the plugin on ACT, or after loading the plugin and starting ACT up. Running as admin, of course, made no difference. There is no clear information as to what the issue is, outside of what the exception reveals. From my end it just seems clear it is unable to load the Async.dll, although I don't know why. Trying different versions of the plugin failed to make a difference. It is possible I'm overlooking something simple and it wouldn't be surprising, but I digress. I'm unsure of what other information will be needed so let me know what else you require.

************** Exception Text **************
System.IO.FileLoadException: Could not load file or assembly 'System.Interactive.Async, Version=3.0.1000.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Interactive.Async, Version=3.0.1000.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263'
at Discord.WebSocket.DiscordSocketClient..ctor(DiscordSocketConfig config, DiscordSocketApiClient client, SemaphoreSlim groupLock, DiscordSocketClient parentClient)
at Discord.WebSocket.DiscordSocketClient..ctor()
at ACT_Plugin.DiscordPlugin.<InitPlugin>d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Advanced Combat Tracker
Assembly Version: 3.3.1.256
Win32 Version: 3.3.1.256
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2114.0 built by: NET47REL1LAST
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2114.0 built by: NET47REL1LAST
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2117.0 built by: NET47REL1LAST
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
GammaJul.LgLcd
Assembly Version: 1.1.3.0
Win32 Version: 1.1.3.0
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/GammaJul.LgLcd.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.85.5.452
Win32 Version: 0.85.5.452
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
FFXIV_ACT_Plugin
Assembly Version: 1.6.2.5
Win32 Version: 3.3.1.256
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe
----------------------------------------
Machina
Assembly Version: 2.0.1.0
Win32 Version: 3.3.1.256
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
Machina.FFXIV
Assembly Version: 2.0.1.0
Win32 Version: 3.3.1.256
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe
----------------------------------------
OverlayPlugin
Assembly Version: 0.3.3.9
Win32 Version: 3.3.1.256
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe
----------------------------------------
OverlayPlugin.Common
Assembly Version: 0.3.3.9
Win32 Version: 0.3.3.9
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin/OverlayPlugin.Common.dll
----------------------------------------
OverlayPlugin.Core
Assembly Version: 0.3.3.9
Win32 Version: 0.3.3.9
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin/OverlayPlugin.Core.dll
----------------------------------------
HtmlRenderer
Assembly Version: 1.0.1.4
Win32 Version: 1.0.1.4
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin/HtmlRenderer.dll
----------------------------------------
Xilium.CefGlue
Assembly Version: 3.2272.2035.0
Win32 Version: 3.2272.2035.0
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin/Xilium.CefGlue.dll
----------------------------------------
EnmityOverlay
Assembly Version: 1.6.6.1
Win32 Version: 1.6.6.1
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin/addons/EnmityOverlay.dll
----------------------------------------
System.Web.Extensions
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2106.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2106.0 built by: NET47REL1LAST
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SlimDX_XAudio2
Assembly Version: 1.0.0.1
Win32 Version: 3.3.1.256
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe
----------------------------------------
SlimDX
Assembly Version: 4.0.11.43
Win32 Version: 
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/SlimDX/v4.0_4.0.11.43__b1b0c32fd1ffe4f9/SlimDX.dll
----------------------------------------
ACT_DiscordTriggers
Assembly Version: 1.0.0.0
Win32 Version: 3.3.1.256
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe
----------------------------------------
Discord.Net.Core
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Discord.Net.Core.DLL
----------------------------------------
System.Speech
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
Discord.Net.WebSocket
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Discord.Net.WebSocket.DLL
----------------------------------------
Discord.Net.Rest
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Discord.Net.Rest.DLL
----------------------------------------
Discord.Net.Providers.WS4Net
Assembly Version: 1.0.1.0
Win32 Version: 1.0.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Discord.Net.Providers.WS4Net.DLL
----------------------------------------
Discord.Net.Providers.UDPClient
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Discord.Net.Providers.UDPClient.DLL
----------------------------------------
System.Collections.Immutable
Assembly Version: 1.2.1.0
Win32 Version: 4.6.24816.01
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/System.Collections.Immutable.DLL
----------------------------------------
System.Runtime
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
----------------------------------------
Newtonsoft.Json
Assembly Version: 10.0.0.0
Win32 Version: 10.0.2.20802
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Newtonsoft.Json.DLL
----------------------------------------
System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------

Here is the directory list for ACT for file reference

 Directory of C:\Program Files (x86)\Advanced Combat Tracker

03/12/2018  07:50 PM    <DIR>          .
03/12/2018  07:50 PM    <DIR>          ..
10/07/2017  06:52 AM            80,896 ACTx86.exe
10/07/2017  06:38 AM               540 ACTx86.exe.config
03/12/2018  07:50 PM            22,528 ACT_DiscordTriggers.dll
10/07/2017  06:52 AM         2,011,136 Advanced Combat Tracker.exe
10/07/2017  06:37 AM               523 Advanced Combat Tracker.exe.config
03/12/2018  12:12 AM    <DIR>          billyvg-OverlayPlugin-themes-94b647d
03/12/2018  07:21 PM    <DIR>          Bin
02/16/2010  11:27 PM             1,078 CodeLicense.txt
03/12/2018  07:21 PM    <DIR>          DirectX Redist
03/12/2018  07:50 PM           104,960 Discord.Net.Commands.dll
03/12/2018  07:50 PM           122,368 Discord.Net.Core.dll
03/12/2018  07:50 PM            11,776 Discord.Net.Providers.UDPClient.dll
03/12/2018  07:50 PM            12,288 Discord.Net.Providers.WS4Net.dll
03/12/2018  07:50 PM           428,032 Discord.Net.Rest.dll
03/12/2018  07:50 PM           158,208 Discord.Net.Rpc.dll
03/12/2018  07:50 PM            12,288 Discord.Net.Webhook.dll
03/12/2018  07:50 PM           374,784 Discord.Net.WebSocket.dll
03/12/2018  07:21 PM    <DIR>          Documentation
03/12/2018  07:50 PM            51,712 GammaJul.LgLcd.dll
04/27/2010  02:35 PM             5,120 GammaJul.LgLcd.Native32.dll
04/27/2010  02:35 PM             6,656 GammaJul.LgLcd.Native64.dll
03/12/2018  07:50 PM           192,512 ICSharpCode.SharpZipLib.dll
03/12/2018  07:50 PM         2,767,230 libsodium.dll
01/12/2009  04:29 PM             1,028 MediaLicense.txt
03/12/2018  07:25 PM            35,320 Microsoft.Extensions.DependencyInjection.
Abstractions.dll
03/12/2018  07:25 PM            45,048 Microsoft.Extensions.DependencyInjection.
dll
03/12/2018  07:50 PM           297,752 Microsoft.QualityTools.Testing.Fakes.dll
03/12/2018  07:50 PM            22,768 Microsoft.Win32.Primitives.dll
03/12/2018  07:50 PM           475,136 NAudio.dll
03/12/2018  07:50 PM           652,288 Newtonsoft.Json.dll
03/12/2018  07:50 PM         2,508,947 opus.dll
03/12/2018  12:10 AM    <DIR>          OverlayPlugin
03/11/2018  09:31 PM             7,358 pin_in.ico
03/11/2018  09:31 PM             7,358 pin_out.ico
03/12/2018  07:21 PM    <DIR>          Runtime
03/12/2018  07:21 PM    <DIR>          Samples
05/29/2017  12:10 AM        79,559,081 SlimDX SDK (March 2011).exe
05/29/2017  12:13 AM            15,872 SlimDX_XAudio2.dll
03/12/2018  07:50 PM            20,168 System.AppContext.dll
03/12/2018  07:50 PM           244,432 System.Collections.Immutable.dll
03/12/2018  07:50 PM            34,496 System.Console.dll
03/12/2018  07:50 PM            35,760 System.Diagnostics.DiagnosticSource.dll
03/12/2018  07:50 PM            37,096 System.Diagnostics.Tracing.dll
03/12/2018  07:50 PM            23,296 System.Globalization.Calendars.dll
03/12/2018  07:50 PM           236,320 System.Interactive.Async.dll
03/12/2018  07:50 PM           111,984 System.IO.Compression.dll
03/12/2018  07:50 PM            24,824 System.IO.Compression.ZipFile.dll
03/12/2018  07:50 PM            22,184 System.IO.dll
03/12/2018  07:50 PM            22,736 System.IO.FileSystem.dll
03/12/2018  07:50 PM            22,784 System.IO.FileSystem.Primitives.dll
03/12/2018  07:50 PM           265,048 System.Net.Http.dll
03/12/2018  07:50 PM            46,280 System.Net.Sockets.dll
03/12/2018  07:50 PM            22,936 System.Net.WebSockets.Client.dll
03/12/2018  07:50 PM            22,232 System.Net.WebSockets.dll
03/12/2018  07:50 PM            22,728 System.Reflection.dll
03/12/2018  07:50 PM            29,880 System.Runtime.dll
03/12/2018  07:50 PM            33,000 System.Runtime.Extensions.dll
03/12/2018  07:50 PM            25,856 System.Runtime.InteropServices.dll
03/12/2018  07:50 PM            33,256 System.Runtime.InteropServices.RuntimeInf
ormation.dll
03/12/2018  07:50 PM            26,912 System.Runtime.Serialization.Primitives.d
ll
03/12/2018  07:50 PM            39,872 System.Security.Cryptography.Algorithms.d
ll
03/12/2018  07:50 PM            23,480 System.Security.Cryptography.Encoding.dll

03/12/2018  07:50 PM            22,816 System.Security.Cryptography.Primitives.d
ll
03/12/2018  07:50 PM            38,872 System.Security.Cryptography.X509Certific
ates.dll
03/12/2018  07:50 PM            23,264 System.Xml.ReaderWriter.dll
03/12/2018  12:03 AM           140,926 Uninstall-ACT.exe
03/12/2018  07:50 PM            90,624 WebSocket4Net.dll
              60 File(s)     91,736,653 bytes
               9 Dir(s)  1,613,464,514,560 bytes free
megaoka commented 6 years ago

Do you have .NET 4.6.2 or later?

https://www.microsoft.com/en-us/download/details.aspx?id=53344

I would also check to make sure the file isn't being blocked (R.Click -> Properties, at the bottom of that pane)

Makar8000 commented 6 years ago

Releasing a major update soon that should prevent assembly resolve errors.