开发者

How can I get status information (e.g., 7/30 uploaded) when publishing using ClickOnce?

It really irks m开发者_如何转开发e to sit around waiting for "Publishing files..." to finish. I am publishing using FTP, so maybe this is the issue.

Here's what the output looks like:

Connecting to 'ftp://example.com/public_html/download/xxx/'...
Publishing files...
Publish success.
http://example.com/download/xxx/publish.htm
========== Build: 12 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

In between "..." and "Publish success" is a rather long wait for which I would like a more detailed status.


If you're publishing from Visual Studio, simply show the Output Window and pay attention to it during a publishing process. (Go to View->Output to view the Output window.)

The Output window displays build info, errors and the status of the ClickOnce publication process. When you publish your application, ClickOnce has to generate a few files and then it publishes all of the associated file with your project. When it is copying your files to the publication server, each file that has been updated is enumerated in the Output window, complete with a x of n count.

Hope that helps.


No, there's no way to enumerate those files as they are published for a client application. I think it does it for a VSTO app, but not for a regular client application.

I'll turn this into the PM at MSFT again as a frequently requested item.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜