Error: Failed to connect while Publishing Click On

2019-07-07 03:32发布

问题:

I got an error while publishing my WPF application. I am publishing on the desktop and the location of the installation folder and the publish folder is the same. \ Error says---

Error 1 Failed to connect to '\localhost\Users\Administrator\Desktop\deploy\' with the following error: Unable to create the Web site '\localhost\Users\Administrator\Desktop\deploy'. The path '\localhost\Users\Administrator\Desktop\deploy' does not exist or you do not have access. The specified path is invalid.

回答1:

I have to change the path from local host to c:/ then it successfully build.



标签: wpf clickonce