Fixed an issue when trying ClickOnce publish