We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Deployment Samples and Walkthroughs

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.

For information about securing applications, see the following help topics:



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.