Updated project to support re-generating code on build as well as design time