To get build working - Unchecked Signe the clickonce manifests setting in signing of project.
Added a strong name key to fix build error