Running simple, one-hit code tasks in the Package Deployer is pretty easy and works when you have one or two projects that you are working on.
However, I’m pretty lazy and not much for running the same patterns over and over again.
To this end, I came up with a Framework that requires you to only code your Package once while letting you maintain your tasks in another project that you don’t need to reference directly.
The implementation is accomplished via an Interface library that gets shared between projects. In this case, I called it “IDeploymentTask” and gave it some property and events to be used while it does it work so it can update the UI accordingly. This interface is located in a common project that both my Package Deployer users