kzu / InjectModuleInitializer

Console program and nuget package to inject a module initializer method into a built .NET assembly
http://einaregilsson.com/module-initializers-in-csharp/
MIT License
97 stars 32 forks source link

Could the method be outside of the DLL ? #11

Closed ghost closed 8 years ago

ghost commented 8 years ago

I want to mod a game for which I don't have the source code of a DLL, is it possible for the method to be outside of the DLL or to inject the method in the DLL ?

einaregilsson commented 8 years ago

It's not possible for the method to be outside the dll or to inject the method into the dll right now. It would be possible to change the code to allow that, but you'd have to do that on your own, I'm not really adding any more features to this project.