ClickOnce deployments to a networked drive

Learned something new. I could not deploy a WPF application using ClickOnce using a mapped network drive. It kept coming back at me saying that “The path does not exist.”, even though I copied the path from Windows Explorer directly into the ClickOnce deployment dialog.

The problem was that I had VS2010 starting using administrator credentials – and there was no way to allow access to that shared drive that initially requires a username and password to access. Starting VS not using admin credentials fixed the problem.

Hope this helps someone else out there, as I was stumped for a bit on this one.