Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin: disable strong name req for FFXIV_ACT_Plugin.Common #5806

Merged
merged 1 commit into from
Sep 23, 2023

Conversation

Echoring
Copy link
Contributor

CN players use a modified FFXIV_ACT_Plugin to parse the game. (https://github.com/TundraWork/FFXIV_ACT_Plugin_CN)
This modified plugin do not have strong name, so cactbot report an error like this:

[2023/9/23 15:22:11] Error: LoadAddons: CactbotOverlay.dll: System.IO.FileLoadException: Could not load file or assembly 'FFXIV_ACT_Plugin.Common, Version=2.2.0.5, Culture=neutral, PublicKeyToken=9f740ac505d6bc50' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
File name: 'FFXIV_ACT_Plugin.Common, Version=2.2.0.5, Culture=neutral, PublicKeyToken=9f740ac505d6bc50' ---> System.IO.FileLoadException: A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
   at Cactbot.FFXIVPlugin.RegisterProcessChangedHandler(Action`1 handler)
   at Cactbot.CactbotEventSource.Start()
   at RainbowMage.OverlayPlugin.Registry.StartEventSource[T](T source)
   at RainbowMage.OverlayPlugin.PluginMain.LoadAddons()

I remove the strong name in \plugin\ThirdParty\FFXIV_ACT\SDK\FFXIV_ACT_Plugin.Common.dll and the config file is autoly changed like this. I rebuild the dll and the problem solved.
I'm not familiar with .net and not sure does this fully handled by this option, if something amiss pray tell me.

@cactbotbot
Copy link
Collaborator

cactbotbot commented Sep 23, 2023

@Echoring Thanks for your contribution! 🌵🚀

@Echoring Echoring changed the title plugin: disable strong name requirement for FFXIV_ACT_Plugin.Common plugin: disable strong name req for FFXIV_ACT_Plugin.Common Sep 23, 2023
@quisquous quisquous merged commit 86704dd into quisquous:main Sep 23, 2023
github-actions bot pushed a commit that referenced this pull request Sep 23, 2023
…Common (#5806)

CN players use a modified FFXIV_ACT_Plugin to parse the game.
(https://github.com/TundraWork/FFXIV_ACT_Plugin_CN)
This modified plugin do not have strong name, so cactbot report an error
like this:
```
[2023/9/23 15:22:11] Error: LoadAddons: CactbotOverlay.dll: System.IO.FileLoadException: Could not load file or assembly 'FFXIV_ACT_Plugin.Common, Version=2.2.0.5, Culture=neutral, PublicKeyToken=9f740ac505d6bc50' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
File name: 'FFXIV_ACT_Plugin.Common, Version=2.2.0.5, Culture=neutral, PublicKeyToken=9f740ac505d6bc50' ---> System.IO.FileLoadException: A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
   at Cactbot.FFXIVPlugin.RegisterProcessChangedHandler(Action`1 handler)
   at Cactbot.CactbotEventSource.Start()
   at RainbowMage.OverlayPlugin.Registry.StartEventSource[T](T source)
   at RainbowMage.OverlayPlugin.PluginMain.LoadAddons()
```
I remove the strong name in
`\plugin\ThirdParty\FFXIV_ACT\SDK\FFXIV_ACT_Plugin.Common.dll` and the
config file is autoly changed like this. I rebuild the dll and the
problem solved.
I'm not familiar with .net and not sure does this fully handled by this
option, if something amiss pray tell me. 86704dd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants