kwsch / PKHeXRNG

PKHeX-plugin for Citra RNG using RPC to fetch game data
5 stars 4 forks source link

Error #3

Closed drewlobel closed 2 years ago

drewlobel commented 2 years ago

I built it, got the PKHeXRNG.dll from "PKHeXRNG-master\PKHeXRNG\bin\Debug" and got this error. Every other plugin works fine.

The error: Exception Details: System.TypeLoadException: Could not load type 'PKHeX.Core.ComboItem' from assembly 'PKHeXRNG, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' due to value type mismatch. at PKHeXRNG.CitraRNG..ctor(RNGPlugin plg) at PKHeXRNG.RNGPlugin.ShowCitra() at PKHeXRNG.RNGPlugin.b__15_0(Object s, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Loaded Assemblies:

mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll

PKHeX, Version=22.2.4.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\PKHeX.exe

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll

System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll

System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll

System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll

System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll

PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll

System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

System.Reflection, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Reflection\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Reflection.dll

System.Runtime.InteropServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.InteropServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.InteropServices.dll

System.Runtime.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Extensions\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Extensions.dll

Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed

System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll

System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll

System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll

PKHeX.Drawing.PokeSprite, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

PKHeX.Drawing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

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

PKHeX.Drawing.Misc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

AutoModPlugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\AutoModPlugins.dll

PKHeX.Core.Injection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

BerryPlots, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\BerryPlots.dll

BulkImporter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\BulkImporter.dll

CuteCharmIDGeniePlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\CuteCharmIDGeniePlugin.dll

DynamaxAdventureReset, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\DynamaxAdventureReset.dll

FeebasLocatorPlugin, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\FeebasLocator.dll

GP1Editor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\GP1Editor.dll

HOME, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\HOME_Live_Plugin.dll

MirageIslandPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\MirageIslandTool.dll

Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed F:\Apps\GOD-HEX\plugins\Newtonsoft.Json.dll

Overworld8Searcher, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\Overworld8Searcher.dll

OverworldReader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\OverworldReader.dll

PKHeXRNG, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\PKHeXRNG.dll

PKHeX_Raid_Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\PKHeX_Raid_Plugin.dll

PokeFilename, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\PokeFilename.dll

QRPlugins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\QRPlugins.dll

ram2savPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\ram2savPlugin.dll

SaveConverter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\SaveConverter.dll

SortingPlugin, Version=0.0.5.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\SortingPlugin.dll

PKHeXWC3Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\WC3Plugin.dll

WonderRecord, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null F:\Apps\GOD-HEX\plugins\WonderRecord.dll

PKHeX.Core.AutoMod, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null


User Message: An unhandled exception has occurred. You can continue running PKHeX, but please report this error.

kwsch commented 2 years ago

The build does not target the latest PKHeX version, as I previously stated in your last issue. This repo has not been updated to reference the latest nuget package, therefore it won't be able to find some of the latest code in PKHeX.Core.

Either use an old version of PKHeX with a date matching the NuGet reference, or update the nuget reference yourself.