ClickOnce Deployment Samples and Walkthroughs

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This section contains sample applications, example code, and step-by-step walkthroughs that illustrate the syntax, structure, and techniques used to deploy Windows Forms, WPF, and console applications.

The sample code is intended for instructional purposes, and should not be used in deployed solutions without modifications. In particular, security must be taken into greater consideration.

ClickOnce Deployment

Topic Description
Deploying a ClickOnce Application Manually Explains how to use .NET Framework utilities to deploy your ClickOnce application.
Downloading Assemblies on Demand with the ClickOnce Deployment API Demonstrates how to mark certain assemblies in your application as "optional," and how to download them using classes in the System.Deployment.Application namespace.
Downloading Assemblies On Demand with the ClickOnce Deployment API Using the Designer Explains how to download application assemblies only when they are first used by the application.

See Also

Visual Studio Walkthroughs
Visual Studio Samples