Fix #7: menu contribution now only appears on .targetplatform files.