Deploying Applications with ClickOnce

To deploy an application with ClickOnce, you have three options: the Publish command in the Build menu, right-clicking the project in Solution Explorer, and selecting Publish or the Publish Now button in the ClickOnce configuration page within My Project. For now we focus on the first option, whereas the second option is covered in the next section. Now create a new WPF project with Visual Basic and name it ClickOnceDemo. There is no need to write code for the application because we need only a base for our example. In order to deploy an application with ClickOnce, follow these steps:

1. Click Build, Publish, Visual Studio launches the Publish Wizard. Figure 55.1 shows the first dialog of the wizard, in ...

Get Visual Basic® 2010 Unleashed 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.