KOSpades Posted May 9 Share Posted May 9 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 ? Link to comment Share on other sites More sharing options...
Kaphotics Posted May 9 Share Posted May 9 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. Link to comment Share on other sites More sharing options...
KOSpades Posted May 9 Author Share Posted May 9 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 Link to comment Share on other sites More sharing options...
Kaphotics Posted May 9 Share Posted May 9 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. 1 Link to comment Share on other sites More sharing options...
KOSpades Posted May 9 Author Share Posted May 9 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: Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now