Jump to content

Recommended Posts

Posted

hi all i am trying to compile useful plugins like terafinder.dll into pkhex and publish it as an .exe using visual studio without having to create a plugins folder in pkhex directory and pulling the relevant plugins.dll into it like a sort of plugins incorporation when building pkhex

is there a guide i can read on it ? 

Posted

ILMerge or change the PKHeX.WinForms to build including dlls in a folder; change PKHeX's settings to load plugins from within the assembly.

Ideally, you don't do this because there's no real need to.

Posted
21 minutes ago, Kaphotics said:

ILMerge or change the PKHeX.WinForms to build including dlls in a folder; change PKHeX's settings to load plugins from within the assembly.

Ideally, you don't do this because there's no real need to.

Thank you kap ! How do i change the winforms? I tried to put the plugins.dll into winforms > mainwindow and publish the winforms but it wouldnt build correctly with the plugins

 

Posted
5 minutes ago, Kaphotics said:

I don't know, which is why I was vague in my reply. It's not something you can just quickly change with zero knowledge.

https://github.com/gluck/il-repack

Merging the assemblies after build might be fine to do, but again, I do not think you need to do this. Plugin files really should be kept as separate files.

thank you for providing some head start and heads up kap!!

ps: 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...