Reputation: 5924
I've seen this asked a couple times but there's either no answer at all, or the answer uses VS 2012 or earlier when this was allowed. It seems Microsoft removed this feature in VS 2013.
Is there any way to publish a ClickOnce application as a web page?
Edit: Here's the feedback report for the removal of the feature: https://connect.microsoft.com/VisualStudio/feedback/details/1013145/vs-2013-4-rc-publish-xbap-via-http
Upvotes: 1
Views: 1898
Reputation: 4913
XBAPs were removed, but you can still publish to an HTTP/HTTPS hosted endpoint. All XBAPs gave you were browser-hosted apps, but the deployment mechanism can still apply for a desktop experience with ClickOnce.
For example, I use Azure Blob Storage to host the published files, using the publish.htm as the front-end to send users. Each time I publish, I have to push the files to the blob store, but it's very easily automated. User's are directed to go to: http://your-blob-store-url/publish.htm
The approach I use is based on this article: How to host a ClickOnce deployment in Azure Blob Storage
Upvotes: 1
Reputation: 10744
It looks like the feature is still there.
This guide explains how to specify a web page How to: Specify a Publish Page for a ClickOnce Application
Upvotes: 1