issues
search
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
Add nuget package
#2
Closed
bfriesen
closed
10 years ago
bfriesen
commented
10 years ago
On install, the package:
Adds InjectModuleInitializer.exe to the nuget package's 'tools' folder.
Adds a
AfterBuild
target to the project.
Uses the "default" command-line arguments.
Not signed.
Default file/method name.
Adds a ModuleInitializer class (per the default command-line args above), to the project root.
Includes
// TODO: Add assembly initialization logic
comment to indicate to the user where to put their module initialization logic.
Displays a README, including
TODO:
and
License
sections.
On uninstall, the package:
Removes the project's
AfterBuild
target.
On install, the package:
AfterBuild
target to the project.On uninstall, the package:
AfterBuild
target.