错误:发布单击一次应用程序Wpf时无法连接 [英] Error: Failed to connect while Publishing Click Once Application Wpf
问题描述
发布WPF应用程序时出错。我在桌面
上发布,安装文件夹和发布文件夹的位置相同。 \
错误说---
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---
错误1无法连接到
'\localhost\Users \Administrator\Desktop\deploy\,出现以下
错误:无法创建网站
'\localhost\Users\Administrator\Desktop\deploy'。
路径 \localhost\Users\Administrator\Desktop\deploy不存在,或者您
没有访问权限。指定的路径无效。
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.
推荐答案
我必须将路径从本地主机更改为c :/
然后成功构建。
I have to change the path from local host to c:/ then it successfully build.
这篇关于错误:发布单击一次应用程序Wpf时无法连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!