Hints for ClickOnce Deployment

Deploying an XBAP application is extremely easy since you can use ClickOnce. However, you must be aware of some restrictions.

First, you cannot publish directly to a web server unless you have FrontPage extensions installed. So you need to publish to a local or shared folder and then create a virtual directory in the Internet Information Services on the target web server, so that the application can be reached via HTTP. Once you have the folder mapped in IIS, you can copy the content of the publish folder to the mapped directory.

Get Hidden WPF: Secrets for Creating Great Applications in Windows Presentation Foundation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.