Solving the age-old ClickOnce VSTO System.ArgumentException Value does not fall within the expected range error

I recently encountered a situation in which I updated and upgraded a ClickOnce VSTO application.