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, focus on the first option. (The second option is covered in the next section.)

Create a new WPF project with Visual Basic and name it ClickOnceDemo. There is no need to write code for the application because a base for our example is enough. To deploy an application with ClickOnce, follow these steps:

1. Click Build, Publish. Visual Studio launches the Publish Wizard. Figure 50.1 shows the first dialog box of the wizard, in which you need to specify ...

Get Visual Basic 2015 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.