I had this problem too when I re-hosted previously-working ClickOnce files on to another web host. The problem was Git messing with the text file line-endings just as @aduen commented above.