Updated the AddBackgroundWorker MSBuild snippet so it works for both invoking a package and publishing directly