No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Coen.Utilities
Injector
.gitattributes
.gitignore
Readme.md

Readme.md

ModuleInitializer Proof of concept

This repository contains the source code supporting the article on https://www.coengoedegebure.com/module-initializers-in-dotnet

To get it to run, follow these steps:

    1. Build the Injector solution.
    1. Build the Coen.Utilities solution.
    1. Run the TestApplication in the Coen.Utilities solution. Note the FileNotFoundException stating that the SharpZipLib could not be found.
    1. Now run the Injector.exe on the Coen.Utilities assembly using the following parameters: Injector.exe ModuleInitializer Initialize path/to/Coen.Utilities.dll
    1. Run the Testapplication in the Coen.Utilities again (don't rebuild, it will overwrite the Coen.Utilities). Note the tracelog stating the moduleInitializer was loaded and the zip file was created.