This create MSIX package option was not selected for me. Publish menu got enabled once I enabled this option in project properties.