ClickOnce的发布 - "该文件是“Default.htm”已存在在这个网站" [英] Clickonce publish - "The file 'default.htm' already exists in this Web site"

查看:238
本文介绍了ClickOnce的发布 - "该文件是“Default.htm”已存在在这个网站"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试(重新)发布我的ClickOnce应用程序,我得到这样的:

When I try to (re)publish my clickonce app, I am getting this:

失败的文件'E:*路径* \ Default.htm的'复制到'\ *路* \的default.htm。无法'的default.htm添加到Web站点。该文件是Default.htm已存在在这个网站上。

Failed to copy file 'E:*path*\default.htm' to '\*path*\default.htm'. Unable to add 'default.htm' to the Web site. The file 'default.htm' already exists in this Web site.

有三个文件具有相同的错误消息 - 为Default.htm,SETUP.EXE和我的应用程序的。应用文件

There are three files with the same error message - default.htm, setup.exe and my app's .application file.

这是怎么回事?我发表这个之前,很多次 - 尽管它一直以来几个月的最后发布

What's going on? I've published this before, many times - although it's been a few months since the last publish.

推荐答案

您可能会想张贴此对UserVoice的(导致其要进入服务器的详细信息快),但在我看来,该文件已经存在。 2最明显的可能性是:

You might wanna post this on UserVoice (cause its going to get into server details quickly) but it seems to me that the file already exists. 2 most obvious possibilities are:

1)的网络服务器设置了该文件以只读

1) The web server has set the file to read-only.

2)我想使用的ClickOnce部署每一个不同的目录。你记得撞版本号了?

2) I think ClickOnce uses a different directory per deployment. Did you remember to bump the version number up?

这篇关于ClickOnce的发布 - "该文件是“Default.htm”已存在在这个网站"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆